private processAnnotationReaders ( |
||
$container |
private function processAnnotationReaders(ContainerBuilder $container)
{
$references = $this->processor->findAndSortTaggedServices($container, self::ANNOTATION_READER_TAG);
$definition = $container->getDefinition(self::getAnnotatedContextReaderId());
foreach ($references as $reference) {
$definition->addMethodCall('registerAnnotationReader', array($reference));
}
}