|
@@ 567-569 (lines=3) @@
|
| 564 |
|
$status = $this->getRegistryProcessor()->getAttribute($this->getSerial()); |
| 565 |
|
|
| 566 |
|
// query whether or not the configured source directory is available |
| 567 |
|
if (!is_dir($sourceDir = $status[RegistryKeys::SOURCE_DIRECTORY])) { |
| 568 |
|
throw new \Exception(sprintf('Configured source directory %s is not available!', $sourceDir)); |
| 569 |
|
} |
| 570 |
|
|
| 571 |
|
// initialize the file iterator on source directory |
| 572 |
|
$files = glob(sprintf('%s/*.csv', $sourceDir)); |
|
@@ 794-796 (lines=3) @@
|
| 791 |
|
$status = $this->getRegistryProcessor()->getAttribute($this->getSerial()); |
| 792 |
|
|
| 793 |
|
// query whether or not the configured source directory is available |
| 794 |
|
if (!is_dir($sourceDir = $status[RegistryKeys::SOURCE_DIRECTORY])) { |
| 795 |
|
throw new \Exception(sprintf('Configured source directory %s is not available!', $sourceDir)); |
| 796 |
|
} |
| 797 |
|
|
| 798 |
|
// init file iterator on source directory |
| 799 |
|
$fileIterator = new \FilesystemIterator($sourceDir); |