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()
return array(
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
// register the other bundles your tests depend on
new Seblegall\ApiValidatorBundle\ApiValidatorBundle(),
new \Seblegall\ApiValidatorBundle\Tests\Fixtures\Bundles\ExampleBundle\ExampleBundle(),
);
}
public function registerContainerConfiguration(LoaderInterface $loader)
$loader->load(__DIR__.'/config/config_'.$this->getEnvironment().'.yml');
/**
* @return string
*/
public function getCacheDir()
return sys_get_temp_dir().'/ApiValidatorBundle/cache';
public function getLogDir()
return sys_get_temp_dir().'/ApiValidatorBundle/logs';