| 1 | <?php |
||
| 8 | trait TagTrait |
||
| 9 | { |
||
| 10 | use FeatureTrait, ScenarioTrait; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Returns all tags for the current scenario and feature. |
||
| 14 | * |
||
| 15 | * @return string[] |
||
| 16 | */ |
||
| 17 | protected function getTags() |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Checks whether the current scenario or feature has the given tag. |
||
| 26 | * |
||
| 27 | * @param string $tag |
||
| 28 | * |
||
| 29 | * @return bool |
||
| 30 | */ |
||
| 31 | protected function hasTag($tag) |
||
| 35 | } |
||
| 36 |