public static findSchemasByPaths ( array $paths = null, CLIFramework\Logger $logger = null ) | ||
$paths | array | |
$logger | CLIFramework\Logger |
public static function findSchemasByPaths(array $paths = null, Logger $logger = null)
{
if ($paths && !empty($paths)) {
$finder = new SchemaFinder($paths, $logger);
$finder->find();
}
return SchemaLoader::loadDeclaredSchemas();
}