for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
use Symfony\Component\HttpKernel\Kernel;
/**
* Class AppKernel
*
* @@codingStandardsIgnoreFile
*/
class AppKernel extends Kernel
{
const SERVICES_FILE = 'services.yml';
const CONFIG_PATH = '/config/';
public function registerBundles()
return [
new \Bruli\EventBusBundle\EventBusBundle(),
];
}
public function getCacheDir()
return dirname(__DIR__).'/var/cache/'.$this->getEnvironment();
public function getLogDir()
return dirname(__DIR__).'/var/logs';
* Loads the container configuration.
* @param \Symfony\Component\Config\Loader\LoaderInterface $loader A LoaderInterface instance
public function registerContainerConfiguration(\Symfony\Component\Config\Loader\LoaderInterface $loader)
$loader->load(__DIR__.self::CONFIG_PATH.self::SERVICES_FILE);