X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2FAppKernel.php;h=515c79ecb26ba797323037bf8a2009dc66290571;hb=d91691573f108422cc2080462af35ebd62dc93fb;hp=b0a66daddb5dcf4437cefa388beb933db62bb9e2;hpb=ad4d1caa9e744af57ca58a4e57576533eb682d00;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/AppKernel.php b/app/AppKernel.php index b0a66dad..515c79ec 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,13 +17,14 @@ class AppKernel extends Kernel new Symfony\Bundle\AsseticBundle\AsseticBundle(), new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(), new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(), - new AppBundle\AppBundle(), - new Wallabag\CoreBundle\WallabagCoreBundle(), + new FOS\RestBundle\FOSRestBundle(), + new JMS\SerializerBundle\JMSSerializerBundle(), + new Nelmio\ApiDocBundle\NelmioApiDocBundle(), + new Wallabag\CoreBundle\WallabagCoreBundle() ); 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();