for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Zikula package.
*
* Copyright Zikula Foundation - http://zikula.org/
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Zikula\Bundle\HookBundle;
use Symfony\Component\DependencyInjection\Compiler\PassConfig;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Zikula\Bundle\HookBundle\DependencyInjection\Compiler\HookHandlerPass;
class ZikulaHookBundle extends Bundle
{
/**
* {@inheritdoc}
public function build(ContainerBuilder $container)
parent::build($container);
$container->addCompilerPass(new HookHandlerPass(), PassConfig::TYPE_AFTER_REMOVING);
}