Prevent abstract jobs from being included in the list
This commit is contained in:
@@ -103,6 +103,11 @@ class JobInspector
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$reflect = new \ReflectionClass($classPath);
|
||||||
|
if ($reflect->isAbstract()) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
// Build the class name and namespace
|
// Build the class name and namespace
|
||||||
return [
|
return [
|
||||||
'sprinkle' => $sprinkleName,
|
'sprinkle' => $sprinkleName,
|
||||||
|
|||||||
Reference in New Issue
Block a user