You are here

public function FeatureContext::__construct in Acquia Lift Connector 7

Same name and namespace in other branches
  1. 7.2 behat-tests/features/bootstrap/FeatureContext.php \FeatureContext::__construct()

Initializes context.

Every scenario gets its own context instance. You can also pass arbitrary arguments to the context constructor through behat.yml.

File

behat-tests/features/bootstrap/FeatureContext.php, line 47

Class

FeatureContext
Defines application features from the specific context.

Code

public function __construct($context_parameters) {
  $this
    ->setContextParameters($context_parameters);
}