PHP Class Behat\Behat\Gherkin\ServiceContainer\GherkinExtension

Author: Konstantin Kudryashov ([email protected])
Inheritance: implements Behat\Testwork\ServiceContainer\Extension
显示文件 Open project: behat/behat

Public Methods

Method Description
__construct ( Behat\Testwork\ServiceContainer\ServiceProcessor $processor = null ) Initializes extension.
configure ( ArrayNodeDefinition $builder )
getConfigKey ( )
initialize ( ExtensionManager $extensionManager )
load ( ContainerBuilder $container, array $config )
process ( ContainerBuilder $container )

Private Methods

Method Description
createFilterDefinition ( string $type, string $filterString ) : Definition Creates filter definition of provided type.
getLibPath ( ) : string Returns gherkin library path.
loadDefaultLoaders ( ContainerBuilder $container, string $cachePath ) Loads gherkin loaders.
loadFilesystemFeatureLocator ( ContainerBuilder $container ) Loads filesystem feature locator.
loadFilesystemRerunScenariosListLocator ( ContainerBuilder $container ) Loads filesystem rerun scenarios list locator.
loadFilesystemScenariosListLocator ( ContainerBuilder $container ) Loads filesystem scenarios list locator.
loadFilterController ( ContainerBuilder $container ) Loads filter controller.
loadGherkin ( ContainerBuilder $container ) Loads gherkin service.
loadKeywords ( ContainerBuilder $container ) Loads keyword services.
loadParameters ( ContainerBuilder $container ) Loads default container parameters.
loadParser ( ContainerBuilder $container ) Loads gherkin parser.
loadProfileFilters ( ContainerBuilder $container, array $filters ) Loads profile-level gherkin filters.
loadSuiteWithPathsSetup ( ContainerBuilder $container ) Loads suite with paths setup.
loadSyntaxController ( ContainerBuilder $container ) Loads syntax controller.
processLoaders ( ContainerBuilder $container ) Processes all available gherkin loaders.

Method Details

__construct() public method

Initializes extension.
public __construct ( Behat\Testwork\ServiceContainer\ServiceProcessor $processor = null )
$processor Behat\Testwork\ServiceContainer\ServiceProcessor

configure() public method

public configure ( ArrayNodeDefinition $builder )
$builder Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition

getConfigKey() public method

public getConfigKey ( )

initialize() public method

public initialize ( ExtensionManager $extensionManager )
$extensionManager Behat\Testwork\ServiceContainer\ExtensionManager

load() public method

public load ( ContainerBuilder $container, array $config )
$container Symfony\Component\DependencyInjection\ContainerBuilder
$config array

process() public method

public process ( ContainerBuilder $container )
$container Symfony\Component\DependencyInjection\ContainerBuilder