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 Symfony\Bundle\TwigBundle\TwigBundle(),
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
new Knp\FcTestBundle\KnpFcTestBundle(),
);
return $bundles;
}
public function registerContainerConfiguration(LoaderInterface $loader)
$loader->load($this->getProjectDir() . '/app/config/config_' . $this->getEnvironment() . '.yml');
public function getProjectDir()
return realpath(__DIR__ . '/../');