1 | <?php |
||
14 | trait ScenarioTrait |
||
15 | { |
||
16 | |||
17 | /** |
||
18 | * The registered scenario. |
||
19 | * |
||
20 | * @var \Behat\Gherkin\Node\ScenarioInterface |
||
21 | */ |
||
22 | protected $currentScenario; |
||
23 | |||
24 | /** |
||
25 | * Register the scenario. |
||
26 | * |
||
27 | * @param \Behat\Behat\Hook\Scope\BeforeScenarioScope $scope |
||
28 | * |
||
29 | * @BeforeScenario |
||
30 | */ |
||
31 | public function registerScenario(BeforeScenarioScope $scope) |
||
35 | |||
36 | /** |
||
37 | * @return \Behat\Gherkin\Node\ScenarioInterface |
||
38 | */ |
||
39 | protected function getScenario() |
||
43 | } |
||
44 |