for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SfCod\SocketIoBundle;
use SfCod\QueueBundle\DependencyInjection\Compiler\JobCompilerPass;
use SfCod\SocketIoBundle\DependencyInjection\Compiler\EventCompilerPass;
use SfCod\SocketIoBundle\DependencyInjection\SocketIoExtension;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
/**
* Class SfCodSocketIoBundle
*
* @author Virchenko Maksim <[email protected]>
* @package SfCod\SocketIoBundle
*/
class SfCodSocketIoBundle extends Bundle
{
* Get bundle extension
* @return null|SocketIoExtension|\Symfony\Component\DependencyInjection\Extension\ExtensionInterface
public function getContainerExtension()
return new SocketIoExtension();
}
* Add compiler pass
* @param ContainerBuilder $container
public function build(ContainerBuilder $container)
parent::build($container);
$container->addCompilerPass(new EventCompilerPass());