for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the BenGorUser package.
*
* (c) Beñat Espiña <[email protected]>
* (c) Gorka Laucirica <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace BenGorUser\SymfonySecurityBridgeBundle;
use BenGorUser\SymfonySecurityBridgeBundle\DependencyInjection\Compiler\SecurityServicesPass;
use BenGorUser\UserBundle\DependentBenGorUserBundle;
use Symfony\Component\DependencyInjection\Compiler\PassConfig;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
/**
* Symfony security bridge bundle kernel class.
* @author Beñat Espiña <[email protected]>
class SymfonySecurityBridgeBundle extends Bundle
{
use DependentBenGorUserBundle;
* {@inheritdoc}
public function build(ContainerBuilder $container)
$this->checkDependencies(['BenGorUserBundle', 'SecurityBundle'], $container);
$container->addCompilerPass(new SecurityServicesPass(), PassConfig::TYPE_OPTIMIZE);
}