改名
This commit is contained in:
@@ -82,13 +82,13 @@ class Annotation extends Component
|
||||
$this->_annotations[$alias] = [];
|
||||
}
|
||||
foreach ($paths as $path) {
|
||||
if (!str_contains($path, '.php')) {
|
||||
continue;
|
||||
}
|
||||
$explode = explode('/', $path);
|
||||
|
||||
$explode_pop = array_pop($explode);
|
||||
if (is_file($path)) {
|
||||
if (!str_contains($path, '.php')) {
|
||||
continue;
|
||||
}
|
||||
$explode_pop = str_replace('.php', '', $explode_pop);
|
||||
$this->getReflect($namespace . '\\' . $explode_pop, $alias);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user