src/Behat/Behat/Hook/ServiceContainer/HookExtension.php
private function loadAnnotationReader(ContainerBuilder $container)
    {
        $definition = new Definition('Behat\Behat\Hook\Context\Annotation\HookAnnotationReader');
        $definition->addTag(ContextExtension::ANNOTATION_READER_TAG, array('priority' => 50));
        $container->setDefinition(ContextExtension::ANNOTATION_READER_TAG . '.hook', $definition);
    }
private function loadAnnotationReader(ContainerBuilder $container)
    {
        $definition = new Definition('Behat\Behat\Hook\Context\Annotation\HookAnnotationReader');
        $definition->addTag(ContextExtension::ANNOTATION_READER_TAG, array('priority' => 50));
        $container->setDefinition(ContextExtension::ANNOTATION_READER_TAG . '.hook', $definition);
    }
private function loadAnnotationReader ( ContainerBuilder $ container ) { $ definition = new Definition ( 'Behat\Behat\Hook\Context\Annotation\HookAnnotationReader' ) ; $ definition -> addTag ( ContextExtension :: ANNOTATION_READER_TAG , array ( 'priority' => 50 ) ) ; $ container -> setDefinition ( ContextExtension :: ANNOTATION_READER_TAG . '.hook' , $ definition ) ; }
Loads hook annotation reader.

@param ContainerBuilder $container
Loads hook annotation reader .