1 | <?php |
||
21 | class TestKernel extends Kernel |
||
22 | { |
||
23 | public function registerBundles() |
||
24 | { |
||
25 | return [ |
||
26 | new FrameworkBundle(), |
||
27 | new DoctrineBundle(), |
||
28 | new TwigBundle(), |
||
29 | new PierstovalCharacterManagerBundle(), |
||
30 | ]; |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * Loads the container configuration. |
||
35 | */ |
||
36 | public function registerContainerConfiguration(LoaderInterface $loader) |
||
37 | { |
||
38 | $loader->load(__DIR__.'/config/config_'.$this->environment.'.yaml'); |
||
39 | } |
||
40 | |||
41 | public function getRootDir() |
||
42 | { |
||
43 | return $this->getProjectDir().'/build'; |
||
44 | } |
||
45 | } |
||
46 |