1 | <?php |
||
15 | class ReaderFactory |
||
16 | { |
||
17 | /** |
||
18 | * @var ReaderInterface[] |
||
19 | */ |
||
20 | protected $readers = []; |
||
21 | |||
22 | /** |
||
23 | * @param string $readerClass |
||
24 | * @param WalkerInterface $walker |
||
25 | * |
||
26 | * @return ReaderInterface |
||
27 | * @throws InvalidReaderException |
||
28 | */ |
||
29 | 3 | public function createReader($readerClass, WalkerInterface $walker) |
|
45 | |||
46 | /** |
||
47 | * @param string $readerClass |
||
48 | * @param WalkerInterface $walker |
||
49 | */ |
||
50 | protected function addReader($readerClass, WalkerInterface $walker) |
||
56 | } |
||
57 |