X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2FAppKernel.php;h=601b52c3f4670d90c242ca6c9769bc9a96bc7c40;hb=0f00688096645606c7806a619ca27e6f30ce820c;hp=5d159df8ceb2d461d46f48bd9f8c83eba3c56bed;hpb=93fd4692f6eb753cae16358131c8049d84cfbb41;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/AppKernel.php b/app/AppKernel.php index 5d159df8..601b52c3 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php @@ -2,6 +2,7 @@ use Symfony\Component\HttpKernel\Kernel; use Symfony\Component\Config\Loader\LoaderInterface; +use Wallabag\ApiBundle\WallabagApiBundle; class AppKernel extends Kernel { @@ -16,16 +17,21 @@ class AppKernel extends Kernel new Symfony\Bundle\AsseticBundle\AsseticBundle(), new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(), new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(), - new AppBundle\AppBundle(), - new WallabagBundle\WallabagBundle(), + new FOS\RestBundle\FOSRestBundle(), + new JMS\SerializerBundle\JMSSerializerBundle(), + new Nelmio\ApiDocBundle\NelmioApiDocBundle(), + new Nelmio\CorsBundle\NelmioCorsBundle(), + new Liip\ThemeBundle\LiipThemeBundle(), + new Wallabag\CoreBundle\WallabagCoreBundle(), + new Bazinga\Bundle\HateoasBundle\BazingaHateoasBundle() ); if (in_array($this->getEnvironment(), array('dev', 'test'))) { $bundles[] = new Symfony\Bundle\DebugBundle\DebugBundle(); - $bundles[] = new Acme\DemoBundle\AcmeDemoBundle(); $bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle(); $bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle(); $bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle(); + $bundles[] = new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle(); } return $bundles;