for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the OrbitaleCmsBundle package.
*
* (c) Alexandre Rock Ancelet <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
use Symfony\Component\Config\Loader\LoaderInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Kernel;
class AppKernel extends Kernel
{
public function registerBundles()
return [
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\TwigBundle\TwigBundle(),
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
new Orbitale\Bundle\CmsBundle\OrbitaleCmsBundle(),
new Orbitale\Bundle\CmsBundle\Tests\Fixtures\TestBundle\TestBundle(),
];
}
public function registerContainerConfiguration(LoaderInterface $loader)
$loader->load(__DIR__.'/config/config_'.$this->getEnvironment().'.yaml');
/**
* @return string
public function getCacheDir()
return __DIR__.'/../../../build/cache/'.$this->getEnvironment();
public function getLogDir()
return __DIR__.'/../../../build/kernel_logs/'.$this->getEnvironment();