| 1 | <?php |
||
| 17 | class AppKernel extends \Symfony\Component\HttpKernel\Kernel |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * {@inheritdoc} |
||
| 21 | */ |
||
| 22 | public function registerBundles() |
||
| 23 | { |
||
| 24 | $bundles = [ |
||
| 25 | new \Symfony\Bundle\FrameworkBundle\FrameworkBundle(), |
||
| 26 | new \Sulu\Bundle\ValidationBundle\SuluValidationBundle(), |
||
| 27 | ]; |
||
| 28 | |||
| 29 | return $bundles; |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * {@inheritdoc} |
||
| 34 | */ |
||
| 35 | public function registerContainerConfiguration(LoaderInterface $loader) |
||
| 36 | { |
||
| 37 | $loader->load(__DIR__ . '/config/config.yml'); |
||
| 38 | } |
||
| 39 | } |
||
| 40 |