| 1 | <?php |
||
| 7 | class FeatureWalker |
||
| 8 | { |
||
| 9 | protected $gherkin; |
||
| 10 | protected $paths; |
||
| 11 | protected $loaded; |
||
| 12 | protected $features = []; |
||
| 13 | |||
| 14 | public function __construct(Gherkin $gherkin, $paths) |
||
| 20 | |||
| 21 | public function getScenarioByName($name) |
||
| 29 | |||
| 30 | public function getScenarios() |
||
| 39 | |||
| 40 | public function getFeatures() |
||
| 49 | } |
||
| 50 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@returnannotation as described here.