crowl all module descriptor file for discovering new modules

This commit is contained in:
Manuel Raynaud
2013-10-17 15:36:11 +02:00
parent a9d5554b7c
commit 1b865d71a3
4 changed files with 18 additions and 7 deletions

View File

@@ -47,8 +47,10 @@ class ModuleManagement
->name('module.xml')
->in($this->baseModuleDir . '/*/Config');
$descriptorValidator = new ModuleDescriptorValidator();
foreach ($finder as $file) {
echo $file->getRealPath()."\n";
$content = $descriptorValidator->getDescriptor($file->getRealPath());
var_dump($content); exit;
}
}