$files =
[$file];
} // No namespace? Search for it
// Check all namespaces, prioritizing App and modules
elseif (!
$files =
$locator->
search($options['path'
] . DIRECTORY_SEPARATOR .
$alias)) { return null;
} // Check all files for a valid class
foreach ($files as $file) { $class =
$locator->
getClassname($file);
if ($class && self::
verifyInstanceOf($options,
$class)) { return $class;
} } return null;
} /**
* Is the class alias namespaced or not?
*
* @param string $alias Class alias. See the $aliases property.
*/