Property | Type | Description | |
---|---|---|---|
$filters | Behat\Gherkin\Filter\FeatureFilterInterface[] | ||
$loaders | Behat\Gherkin\Loader\LoaderInterface[] |
Method | Description | |
---|---|---|
addFilter ( Behat\Gherkin\Filter\FeatureFilterInterface $filter ) | Adds filter to manager. | |
addLoader ( Behat\Gherkin\Loader\LoaderInterface $loader ) | Adds loader to manager. | |
load ( mixed $resource, array $filters = [] ) : array | Loads & filters resource with added loaders. | |
resolveLoader ( mixed $resource ) : Behat\Gherkin\Loader\LoaderInterface | Resolves loader by resource. | |
setBasePath ( string $path ) | Sets base features path. | |
setFilters ( array $filters ) | Sets filters to the parser. |
public addFilter ( Behat\Gherkin\Filter\FeatureFilterInterface $filter ) | ||
$filter | Behat\Gherkin\Filter\FeatureFilterInterface | Feature filter |
public addLoader ( Behat\Gherkin\Loader\LoaderInterface $loader ) | ||
$loader | Behat\Gherkin\Loader\LoaderInterface | Feature loader |
public resolveLoader ( mixed $resource ) : Behat\Gherkin\Loader\LoaderInterface | ||
$resource | mixed | Resource to load |
return | Behat\Gherkin\Loader\LoaderInterface |
public setBasePath ( string $path ) | ||
$path | string | Loaders base path |
public setFilters ( array $filters ) | ||
$filters | array |
protected FeatureFilterInterface[],Behat\Gherkin\Filter $filters | ||
return | Behat\Gherkin\Filter\FeatureFilterInterface[] |