for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2017 Spomky-Labs
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
namespace Jose\Bundle\JoseFramework;
use Jose\Bundle\JoseFramework\DependencyInjection\Compiler\AlgorithmCompilerPass;
use Jose\Bundle\JoseFramework\DependencyInjection\JoseFrameworkExtension;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
final class JoseFrameworkBundle extends Bundle
{
/**
* {@inheritdoc}
public function getContainerExtension()
return new JoseFrameworkExtension('jose', __DIR__);
}
public function build(ContainerBuilder $container)
parent::build($container);
$container->addCompilerPass(new AlgorithmCompilerPass());