| 1 | <?php |
||
| 12 | class EntityFactory |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * This creates an instance of the appropriate reader, given the type of the file to be read |
||
| 16 | * |
||
| 17 | * @param string $readerType Type of the reader to instantiate |
||
| 18 | * @throws \Box\Spout\Common\Exception\UnsupportedTypeException |
||
| 19 | * @return ReaderInterface |
||
| 20 | */ |
||
| 21 | 79 | public static function createReader($readerType) |
|
| 25 | } |
||
| 26 |