1 | <?php |
||
15 | class FileIteratorFactory |
||
16 | { |
||
17 | /** @var ContainerInterface */ |
||
18 | protected $container; |
||
19 | |||
20 | /** |
||
21 | * @param ContainerInterface $container |
||
22 | */ |
||
23 | public function __construct(ContainerInterface $container) |
||
27 | |||
28 | /** |
||
29 | * Creates an iterator for the given arguments |
||
30 | * |
||
31 | * @param string $class The class of the iterator |
||
32 | * @param string $filePath The file which should be read |
||
33 | * @param array $options The options of the iterator |
||
34 | * |
||
35 | * @return \Iterator |
||
36 | */ |
||
37 | public function create($class, $filePath, array $options = array()) |
||
47 | } |
||
48 |