@@ 574-576 (lines=3) @@ | ||
571 | $status = $this->getRegistryProcessor()->getAttribute($this->getSerial()); |
|
572 | ||
573 | // query whether or not the configured source directory is available |
|
574 | if (!is_dir($sourceDir = $status[RegistryKeys::SOURCE_DIRECTORY])) { |
|
575 | throw new \Exception(sprintf('Configured source directory %s is not available!', $sourceDir)); |
|
576 | } |
|
577 | ||
578 | // initialize the file iterator on source directory |
|
579 | $files = glob(sprintf('%s/*.csv', $sourceDir)); |
|
@@ 801-803 (lines=3) @@ | ||
798 | $status = $this->getRegistryProcessor()->getAttribute($this->getSerial()); |
|
799 | ||
800 | // query whether or not the configured source directory is available |
|
801 | if (!is_dir($sourceDir = $status[RegistryKeys::SOURCE_DIRECTORY])) { |
|
802 | throw new \Exception(sprintf('Configured source directory %s is not available!', $sourceDir)); |
|
803 | } |
|
804 | ||
805 | // init file iterator on source directory |
|
806 | $fileIterator = new \FilesystemIterator($sourceDir); |