for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
use Symfony\Component\Config\Loader\LoaderInterface;
use Symfony\Component\HttpKernel\Kernel;
/**
* @author Yann Eugoné <[email protected]>
*/
class YokaiSecurityTokenTestKernel extends Kernel
{
public function registerBundles()
return [
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
new Yokai\SecurityTokenBundle\YokaiSecurityTokenBundle(),
];
}
public function registerContainerConfiguration(LoaderInterface $loader)
$loader->load(__DIR__.'/config.yml');
public function getRootDir()
return __DIR__;
public function getCacheDir()
return sys_get_temp_dir().'/'.Kernel::VERSION.'/cache/'.$this->environment;
public function getLogDir()
return sys_get_temp_dir().'/'.Kernel::VERSION.'/logs';