| 1 | <?php |
||
| 12 | class CsvReaderFactory |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var integer |
||
| 16 | */ |
||
| 17 | protected $headerRowNumber; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var boolean |
||
| 21 | */ |
||
| 22 | protected $strict; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | protected $delimiter; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var string |
||
| 31 | */ |
||
| 32 | protected $enclosure; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @var string |
||
| 36 | */ |
||
| 37 | protected $escape; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @param integer $headerRowNumber |
||
| 41 | * @param boolean $strict |
||
| 42 | * @param string $delimiter |
||
| 43 | * @param string $enclosure |
||
| 44 | * @param string $escape |
||
| 45 | */ |
||
| 46 | 1 | public function __construct( |
|
| 59 | |||
| 60 | /** |
||
| 61 | * @param \SplFileObject $file |
||
| 62 | * |
||
| 63 | * @return CsvReader |
||
| 64 | */ |
||
| 65 | 1 | public function getReader(\SplFileObject $file) |
|
| 76 | } |
||
| 77 |