@@ 534-536 (lines=3) @@ | ||
531 | $status = $this->getRegistryProcessor()->getAttribute($this->getSerial()); |
|
532 | ||
533 | // query whether or not the configured source directory is available |
|
534 | if (!is_dir($sourceDir = $status[RegistryKeys::SOURCE_DIRECTORY])) { |
|
535 | throw new \Exception(sprintf('Configured source directory %s is not available!', $sourceDir)); |
|
536 | } |
|
537 | ||
538 | // initialize the file iterator on source directory |
|
539 | $fileIterator = new \FilesystemIterator($sourceDir); |
|
@@ 675-677 (lines=3) @@ | ||
672 | $status = $this->getRegistryProcessor()->getAttribute($this->getSerial()); |
|
673 | ||
674 | // query whether or not the configured source directory is available |
|
675 | if (!is_dir($sourceDir = $status[RegistryKeys::SOURCE_DIRECTORY])) { |
|
676 | throw new \Exception(sprintf('Configured source directory %s is not available!', $sourceDir)); |
|
677 | } |
|
678 | ||
679 | // init file iterator on source directory |
|
680 | $fileIterator = new \FilesystemIterator($sourceDir); |