'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)); } }