equal
deleted
inserted
replaced
|
1 <?php |
|
2 |
|
3 /* |
|
4 * This file is part of the Symfony framework. |
|
5 * |
|
6 * (c) Fabien Potencier <fabien@symfony.com> |
|
7 * |
|
8 * This source file is subject to the MIT license that is bundled |
|
9 * with this source code in the file LICENSE. |
|
10 */ |
|
11 |
|
12 namespace Symfony\Bundle\AsseticBundle\Tests; |
|
13 |
|
14 use Symfony\Component\Config\Loader\LoaderInterface; |
|
15 use Symfony\Component\HttpKernel\Kernel; |
|
16 |
|
17 class TestKernel extends Kernel |
|
18 { |
|
19 public function getRootDir() |
|
20 { |
|
21 return __DIR__.'/Resources'; |
|
22 } |
|
23 |
|
24 public function registerBundles() |
|
25 { |
|
26 return array( |
|
27 new \Symfony\Bundle\FrameworkBundle\FrameworkBundle(), |
|
28 new \Symfony\Bundle\TwigBundle\TwigBundle(), |
|
29 new \Symfony\Bundle\AsseticBundle\AsseticBundle(), |
|
30 new \Symfony\Bundle\AsseticBundle\Tests\TestBundle\TestBundle(), |
|
31 ); |
|
32 } |
|
33 |
|
34 public function registerContainerConfiguration(LoaderInterface $loader) |
|
35 { |
|
36 $loader->load(__DIR__.'/Resources/config/config.yml'); |
|
37 } |
|
38 } |