for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* GpsLab component.
*
* @author Peter Gribanov <[email protected]>
* @copyright Copyright (c) 2016, Peter Gribanov
* @license http://opensource.org/licenses/MIT
*/
namespace GpsLab\Bundle\DomainEvent;
use GpsLab\Bundle\DomainEvent\DependencyInjection\Compiler\NamedEventListenerPass;
use GpsLab\Bundle\DomainEvent\DependencyInjection\Compiler\VoterListenerPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class GpsLabDomainEventBundle extends Bundle
{
public function build(ContainerBuilder $container)
parent::build($container);
$container->addCompilerPass(new NamedEventListenerPass());
$container->addCompilerPass(new VoterListenerPass());
}