for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
use Avoran\RapidoBundle\Config\Compiler\CompilerPass;
use Symfony\Component\Config\Loader\LoaderInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Kernel;
class TestKernel extends Kernel
{
public function registerBundles()
return [
new Avoran\RapidoBundle\RapidoBundle(),
new Symfony\Bundle\FrameworkBundle\FrameworkBundle()
];
}
public function registerContainerConfiguration(LoaderInterface $loader)
new \PDO('sqlite:' . __DIR__ . '/sqlite.db');
$loader->load(__DIR__ . '/config.yml');
protected function build(ContainerBuilder $container)
parent::build($container);
$container->addCompilerPass(new CompilerPass());