for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;
class AppKernel extends Kernel
{
public function registerBundles()
$bundles = array(
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
new \Symfony\Bundle\TwigBundle\TwigBundle(),
new \JMS\SerializerBundle\JMSSerializerBundle(),
new \FOS\RestBundle\FOSRestBundle(),
new \Tpg\ExtjsBundle\TpgExtjsBundle(),
new \Test\TestBundle\TestTestBundle(),
new \Doctrine\Bundle\MongoDBBundle\DoctrineMongoDBBundle(),
);
return $bundles;
}
public function registerContainerConfiguration(LoaderInterface $loader)
$loader->load(__DIR__.'/config/config_'.$this->getEnvironment().'.yml');