for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the SludioHelperBundle package.
*
* @author Dāvis Zālītis <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sludio\HelperBundle;
use Sludio\HelperBundle\DependencyInjection\Compiler\TemplatingPass;
use Sludio\HelperBundle\DependencyInjection\SludioHelperExtension;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class SludioHelperBundle extends Bundle
{
* {@inheritdoc}
public function build(ContainerBuilder $container)
parent::build($container);
$container->addCompilerPass(new TemplatingPass());
}
public function getContainerExtension()
if ($this->extension === null) {
return new SludioHelperExtension();
return $this->extension;