1 | <?php |
||
19 | trait ScenarioTagTrait |
||
20 | { |
||
21 | |||
22 | /** |
||
23 | * The registered scenario. |
||
24 | * |
||
25 | * @var ScenarioInterface |
||
26 | */ |
||
27 | protected $currentScenario; |
||
28 | |||
29 | /** |
||
30 | * Register the scenario. |
||
31 | * |
||
32 | * @param BeforeScenarioScope $scope |
||
33 | * |
||
34 | * @BeforeScenario |
||
35 | */ |
||
36 | public function registerScenario(BeforeScenarioScope $scope) |
||
40 | |||
41 | /** |
||
42 | * @return ScenarioInterface |
||
43 | */ |
||
44 | protected function getScenario() |
||
48 | |||
49 | /** |
||
50 | * Get all tags for the current scenario. |
||
51 | * |
||
52 | * @param StepScope $scope |
||
53 | * @return string[] |
||
54 | */ |
||
55 | protected function getCurrentScenarioTags(StepScope $scope) |
||
61 | } |
||
62 |