| 1 | <?php |
||
| 8 | class ProtocolBasedIteratorResolver implements PackagedResourceIteratorResolver |
||
| 9 | { |
||
| 10 | |||
| 11 | private $factories = []; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @param string $protocol |
||
| 15 | * @param callable $factory |
||
| 16 | */ |
||
| 17 | public function addFactory($protocol, callable $factory) |
||
| 21 | |||
| 22 | public function getFactory($protocol) |
||
| 31 | |||
| 32 | public function resolveIterator(PackagedResource $container) |
||
| 44 | } |
||
| 45 |