PHP Class Behat\Behat\Context\Snippet\Generator\AggregateContextIdentifier

This behaviour was introduced in 3.x to support the BC for interface-focused context identifier, while providing better user experience (no need to explicitly call --snippets-for on --append-snippets when contexts do not implement any snippet accepting interfaces).
Inheritance: implements Behat\Behat\Context\Snippet\Generator\TargetContextIdentifier
Mostra file Open project: behat/behat

Public Methods

Method Description
__construct ( array $identifiers ) Initialises identifier.
guessTargetContextClass ( Behat\Behat\Context\Environment\ContextEnvironment $environment )

Method Details

__construct() public method

Initialises identifier.
public __construct ( array $identifiers )
$identifiers array

guessTargetContextClass() public method

public guessTargetContextClass ( Behat\Behat\Context\Environment\ContextEnvironment $environment )
$environment Behat\Behat\Context\Environment\ContextEnvironment