diff --git a/build/scripts/Targets/TargetDescriptionFiles/Services/DiscoveryService.php b/build/scripts/Targets/TargetDescriptionFiles/Services/DiscoveryService.php new file mode 100644 index 00000000..578363cc --- /dev/null +++ b/build/scripts/Targets/TargetDescriptionFiles/Services/DiscoveryService.php @@ -0,0 +1,33 @@ +isFile() && $entry->getExtension() == 'xml') { + $output[] = clone $entry; + + } elseif ($entry->isDir() && !$entry->isDot()) { + $output = array_merge($output, $this->findTargetDescriptionFiles($entry->getPathname())); + } + } + + return $output; + } +}