for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2016 Spomky-Labs
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
use Symfony\Component\Config\Loader\LoaderInterface;
use Symfony\Component\HttpKernel\Kernel;
class AppKernel extends Kernel
{
public function registerBundles()
$bundles = [
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\SecurityBundle\SecurityBundle(),
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle(),
new SpomkyLabs\RoleHierarchyBundle\SpomkyLabsRoleHierarchyBundle(),
new SpomkyLabs\TestRoleHierarchyBundle\SpomkyLabsTestRoleHierarchyBundle(),
];
return $bundles;
}
public function getCacheDir()
return sys_get_temp_dir().'/SpomkyLabsTestRoleHierarchyBundle';
public function registerContainerConfiguration(LoaderInterface $loader)
$loader->load(__DIR__.'/config/config_'.$this->getEnvironment().'.yml');