id === '' || $this->command === '' ? '' : $this->interval . ' ' . $this->command . ' # name="' . $this->id . '" ' . $this->comment; } /** * {@inheritdoc} */ public static function createWith(array $jobData) : TaskAbstract { $interval = \array_splice($jobData, 1, 5); return new self($jobData[0], $jobData[1], \implode(' ', $interval)); } }