ERP/MediaBundle/ERPMediaBundle.php line 9

Open in your IDE?
  1. <?php
  2. namespace ERP\MediaBundle;
  3. use ERP\MediaBundle\Controller\CreateMediaObjectAction;
  4. use Symfony\Component\DependencyInjection\ContainerBuilder;
  5. use Symfony\Component\HttpKernel\Bundle\Bundle;
  6. class ERPMediaBundle extends Bundle
  7. {
  8.     public function build(ContainerBuilder $container)
  9.     {
  10.         parent::build($container);
  11.         $container->registerForAutoconfiguration(CreateMediaObjectAction::class)
  12.             ->addTag('controller.service_arguments');
  13.     }
  14. }