Exemple #1
0
 protected function processApis(ContainerBuilder $container, ContainerHelper $helper)
 {
     $refs = $helper->findNamedTaggedServices($container, self::TAG_API);
     $container->getDefinition(self::ID_MANAGER)->replaceArgument(0, $refs);
 }
Exemple #2
0
 protected function processControllers(ContainerBuilder $container, ContainerHelper $helper)
 {
     $refs = $helper->findAndSortTaggedServices($container, self::TAG_CONTROLLER);
     $container->getDefinition(self::ID_COMMAND)->replaceArgument(1, $refs);
 }