变更
This commit is contained in:
+6
-4
@@ -44,11 +44,13 @@ class Scanner extends Component
|
||||
continue;
|
||||
}
|
||||
$reflect = $container->getReflectionClass($class);
|
||||
$data = $reflect->getAttributes(Skip::class);
|
||||
if (count($data) > 0) {
|
||||
continue;
|
||||
if ($reflect->isInstantiable()) {
|
||||
$data = $reflect->getAttributes(Skip::class);
|
||||
if (count($data) > 0) {
|
||||
continue;
|
||||
}
|
||||
$container->parse($class);
|
||||
}
|
||||
$container->parse($class);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user