eee
This commit is contained in:
@@ -61,6 +61,9 @@ class Scanner extends Component
|
|||||||
}
|
}
|
||||||
$attributes = $method->getAttributes();
|
$attributes = $method->getAttributes();
|
||||||
foreach ($attributes as $attribute) {
|
foreach ($attributes as $attribute) {
|
||||||
|
if (!class_exists($attribute->getName())) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
$attribute->newInstance()->dispatch($object, $method->getName());
|
$attribute->newInstance()->dispatch($object, $method->getName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user