1 | <?php |
||
5 | class Resource implements ResourceInterface |
||
6 | { |
||
7 | /** |
||
8 | * @var \SplFileObject |
||
9 | */ |
||
10 | private $descriptor; |
||
11 | |||
12 | /** |
||
13 | * {@inheritdoc} |
||
14 | */ |
||
15 | 15 | public function open($name, $mode) |
|
24 | |||
25 | /** |
||
26 | * {@inheritdoc} |
||
27 | */ |
||
28 | public function writeRow(array $row, $delimiter = ',', $enclosure = '"') |
||
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | 16 | public function close() |
|
46 | |||
47 | /** |
||
48 | * {@inheritdoc} |
||
49 | */ |
||
50 | 6 | public function readRow($delimiter = ',', $enclosure = '"', $escape = "\\") |
|
54 | |||
55 | /** |
||
56 | * {@inheritdoc} |
||
57 | */ |
||
58 | 1 | public function rewind() |
|
62 | |||
63 | /** |
||
64 | * {@inheritdoc} |
||
65 | */ |
||
66 | 35 | public function isActive() |
|
70 | |||
71 | /** |
||
72 | * {@inheritdoc} |
||
73 | */ |
||
74 | 11 | public function cleanUp($filename) |
|
82 | |||
83 | /** |
||
84 | * @param $directory |
||
85 | * @return bool|null |
||
86 | */ |
||
87 | 12 | public function isEmptyDir($directory) |
|
94 | } |
||
95 |