src/AppBundle.php line 14

Open in your IDE?
  1. <?php
  2. namespace App;
  3. use App\DependencyInjection\Compiler\ReportTypeInterfacePass;
  4. use Symfony\Component\DependencyInjection\ContainerBuilder;
  5. use Symfony\Component\HttpKernel\Bundle\Bundle;
  6. /**
  7.  * App Bundle
  8.  *
  9.  * @author "Cornell University, Student Services IT"
  10.  */
  11. class AppBundle extends Bundle
  12. {
  13.     public function build(ContainerBuilder $containerBuilder)
  14.     {
  15.         parent::build($containerBuilder);
  16.         // register our service status compiler pass
  17.         $containerBuilder->addCompilerPass(new ReportTypeInterfacePass());
  18.     }
  19. }