Exemplo n.º 1
0
 /**
  * Constructor.
  *
  * @param \Symfony\Components\DependencyInjection\ContainerInterface $container A ContainerInterface instance
  * @param \Symfony\Components\Routing\Loader\LoaderInterface[]       $loaders An array of loaders
  */
 public function __construct(ContainerInterface $container, array $loaders = array())
 {
     parent::__construct($loaders);
     $this->container = $container;
     foreach ($container->findAnnotatedServiceIds('routing.loader') as $id => $attributes) {
         $this->services[] = $id;
     }
 }