'array', ]; public function nextDue(): Attribute { return Attribute::make( get: function () { $cron = new CronExpression($this->schedule); return $cron->getNextRunDate()->format('Y-m-d H:i:s'); } ); } public function cronToHuman(): Attribute { return Attribute::make( get: fn() => CronTranslator::translate($this->schedule) ); } public function className(): Attribute { return Attribute::make( get: fn() => class_basename($this->class) ); } }