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