for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Lug package.
*
* (c) Eric GELOEN <[email protected]>
* For the full copyright and license information, please read the LICENSE
* file that was distributed with this source code.
*/
namespace Lug\Bundle\UiBundle;
use Lug\Bundle\UiBundle\DependencyInjection\Compiler\RegisterMenuListenerPass;
use Lug\Bundle\UiBundle\DependencyInjection\Compiler\RegisterMenuPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
/**
* @author GeLo <[email protected]>
class LugUiBundle extends Bundle
{
* {@inheritdoc}
public function build(ContainerBuilder $container)
$container
->addCompilerPass(new RegisterMenuListenerPass())
->addCompilerPass(new RegisterMenuPass());
}