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