| 1 | <?php |
||
| 13 | class WalkerFactory |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var WalkerInterface[] |
||
| 17 | */ |
||
| 18 | protected $walkers = []; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param string $walkerClass |
||
| 22 | * |
||
| 23 | * @return WalkerInterface |
||
| 24 | * @throws InvalidWalkerException |
||
| 25 | */ |
||
| 26 | 3 | public function createWalker($walkerClass) |
|
| 40 | |||
| 41 | /** |
||
| 42 | * @param string $walkerClass |
||
| 43 | */ |
||
| 44 | protected function addWalker($walkerClass) |
||
| 48 | } |
||
| 49 |