Browse Source

composer

tags/v1.1
Simon Vieille 4 years ago
parent
commit
b806c85932
2 changed files with 6 additions and 2 deletions
  1. +2
    -2
      composer.json
  2. +4
    -0
      src/Deblan/Csv/CsvParser.php

+ 2
- 2
composer.json View File

@@ -9,8 +9,8 @@
}
],
"autoload": {
"psr-0": {
"": "src/"
"psr-4": {
"Deblan\\Csv\\": "src/Deblan/Csv/"
}
}
}

+ 4
- 0
src/Deblan/Csv/CsvParser.php View File

@@ -113,6 +113,10 @@ class CsvParser

public function parse()
{
if (!empty($this->datas)) {
return $this->datas;
}

$lines = file($this->filename);

if (empty($lines)) {


Loading…
Cancel
Save