public function gatherContexts(BeforeScenarioScope $scope) {
      $environment = $scope->getEnvironment();
      $this->mink = $environment->getContext('Starbug\Behat\Context\MinkContext');
  }
public function gatherContexts(BeforeScenarioScope $scope) {
      $environment = $scope->getEnvironment();
      $this->mink = $environment->getContext('Starbug\Behat\Context\MinkContext');
  }
public function gatherContexts ( BeforeScenarioScope $ scope ) { $ environment = $ scope -> getEnvironment ( ) ; $ this -> mink = $ environment -> getContext ( 'Starbug\Behat\Context\MinkContext' ) ; }
Access other contexts.

@BeforeScenario
Access other contexts .