for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
// Tests/Controller/App/AppKernel.php
namespace Debril\RssAtomBundle\Tests\Controller\App;
use \Symfony\Component\HttpKernel\Bundle\Bundle;
use \Symfony\Component\HttpKernel\Kernel;
use \Symfony\Component\Config\Loader\LoaderInterface;
/**
* Class AppKernel.
*/
class AppKernel extends Kernel
{
* @return Bundle[]
public function registerBundles()
$bundles = array(
// Dependencies
new \Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
// My Bundle to test
new \Debril\RssAtomBundle\DebrilRssAtomBundle(),
);
return $bundles;
}
* @param LoaderInterface $loader
public function registerContainerConfiguration(LoaderInterface $loader)
// We don't need that Environment stuff, just one config
$loader->load(__DIR__.'/config.yml');