private function processContextReaders(ContainerBuilder $container)
    {
        $references = $this->processor->findAndSortTaggedServices($container, self::READER_TAG);
        $definition = $container->getDefinition(self::getEnvironmentReaderId());

        foreach ($references as $reference) {
            $definition->addMethodCall('registerContextReader', array($reference));
        }
    }
private function processContextReaders(ContainerBuilder $container)
    {
        $references = $this->processor->findAndSortTaggedServices($container, self::READER_TAG);
        $definition = $container->getDefinition(self::getEnvironmentReaderId());

        foreach ($references as $reference) {
            $definition->addMethodCall('registerContextReader', array($reference));
        }
    }
private function processContextReaders ( ContainerBuilder $ container ) { $ references = $ this -> processor -> findAndSortTaggedServices ( $ container , self :: READER_TAG ) ; $ definition = $ container -> getDefinition ( self :: getEnvironmentReaderId ( ) ) ; foreach ( $ references as $ reference ) { $ definition -> addMethodCall ( 'registerContextReader' , array ( $ reference ) ) ; } }
Processes all context readers.

@param ContainerBuilder $container
Processes all context readers .