for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Bruli\EventBusBundleTests\Infrastructure;
use Bruli\EventBusBundle\EventBusBundle;
use Symfony\Component\Config\Loader\LoaderInterface;
use Symfony\Component\HttpKernel\Bundle\BundleInterface;
use Symfony\Component\HttpKernel\Kernel;
final class AppKernel extends Kernel
{
/**
* Returns an array of bundles to register.
*
* @return BundleInterface[] An array of bundle instances
*/
public function registerBundles()
return [
new EventBusBundle()
];
}
* Loads the container configuration.
* @param LoaderInterface $loader A LoaderInterface instance
public function registerContainerConfiguration(LoaderInterface $loader)
$dir = __DIR__ . '/services.yml';
$loader->load($dir);