You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

RestBundle.php 449B

1234567891011121314151617
  1. <?php
  2. namespace PhpBenchmarksSymfony\Bundle\RestBundle;
  3. use PhpBenchmarksSymfony\DependencyInjection\CompilerPass\AddTranslationsPass;
  4. use Symfony\Component\DependencyInjection\ContainerBuilder;
  5. use Symfony\Component\HttpKernel\Bundle\Bundle;
  6. class RestBundle extends Bundle
  7. {
  8. public function build(ContainerBuilder $container)
  9. {
  10. parent::build($container);
  11. $container->addCompilerPass(new AddTranslationsPass());
  12. }
  13. }