예제 #1
0
 /**
  * Import
  *
  * @param string Full path of file
  */
 public function import($path)
 {
     return $this->csvImporter->import($path);
 }
예제 #2
0
 public function testWithFile()
 {
     $importer = new CsvImporter($this->getCsvEntityManager(), $this->getClass());
     $result = $importer->import(__DIR__ . '/files/redirect.txt');
     $this->assertTrue($result);
 }