composer
This commit is contained in:
parent
96c829967f
commit
b806c85932
|
@ -9,8 +9,8 @@
|
|||
}
|
||||
],
|
||||
"autoload": {
|
||||
"psr-0": {
|
||||
"": "src/"
|
||||
"psr-4": {
|
||||
"Deblan\\Csv\\": "src/Deblan/Csv/"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -113,6 +113,10 @@ class CsvParser
|
|||
|
||||
public function parse()
|
||||
{
|
||||
if (!empty($this->datas)) {
|
||||
return $this->datas;
|
||||
}
|
||||
|
||||
$lines = file($this->filename);
|
||||
|
||||
if (empty($lines)) {
|
||||
|
|
Loading…
Reference in a new issue