eZ\Bundle\EzPublishCoreBundle\Features\Context\ContentPreviewContext::gatherContexts PHP Метод

gatherContexts() публичный Метод

public gatherContexts ( Behat\Behat\Hook\Scope\BeforeScenarioScope $scope )
$scope Behat\Behat\Hook\Scope\BeforeScenarioScope
    public function gatherContexts(BeforeScenarioScope $scope)
    {
        $environment = $scope->getEnvironment();
        $this->contentContext = $environment->getContext('eZ\\Bundle\\EzPublishCoreBundle\\Features\\Context\\ContentContext');
    }