<?php
namespace SSH\MyJwtBundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use SSH\MyJwtBundle\DependencyInjection\MyJwtExtension;
use SSH\MyJwtBundle\DependencyInjection\Compiler\ChangeTranslatorCachePass;
//use SSH\MyJwtBundle\DependencyInjection\Compiler\DbalCacheConfigurationPass;
/**
* Main application's bundle.
*/
class MyJwtBundle extends Bundle
{
/**
* {@inheritdoc}
*/
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new ChangeTranslatorCachePass());
// $container->addCompilerPass(new DbalCacheConfigurationPass());
}
/**
* {@inheritdoc}
* @return MyJwtExtension Description
*/
public function getContainerExtension()
{
return new MyJwtExtension();
}
}