Added subject so that it works with job:list

This commit is contained in:
2023-09-05 19:42:41 +12:00
parent 2a557f2a61
commit 3cd0deada0
5 changed files with 59 additions and 0 deletions

View File

@@ -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.
*