eee
This commit is contained in:
+5
-1
@@ -119,7 +119,11 @@ class Scanner extends Component
|
|||||||
if (!class_exists($attribute->getName())) {
|
if (!class_exists($attribute->getName())) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$attribute->newInstance()->dispatch($class, $method->getName());
|
$instance = $attribute->newInstance();
|
||||||
|
if (!method_exists($instance, 'dispatch')) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
$instance->dispatch($class, $method->getName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user