Added subject so that it works with job:list
This commit is contained in:
@@ -44,6 +44,17 @@ class EchoareaImport implements ShouldQueue
|
||||
$this->delete_recs = $delete_recs;
|
||||
}
|
||||
|
||||
public function __get($key): mixed
|
||||
{
|
||||
switch ($key) {
|
||||
case 'subject':
|
||||
return sprintf('%s-%s',$this->do->name,$this->file);
|
||||
|
||||
default:
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute the job.
|
||||
*
|
||||
|
Reference in New Issue
Block a user