Resque\Job::toArray PHP Метод

toArray() публичный Метод

Return array representation of this job
public toArray ( ) : array
Результат array
    public function toArray()
    {
        $packet = $this->getPacket();
        return array('id' => (string) $this->id, 'queue' => (string) $this->queue, 'class' => (string) $this->class, 'data' => $this->data, 'worker' => (string) $packet['worker'], 'status' => (int) $packet['status'], 'created' => (double) $packet['created'], 'updated' => (double) $packet['updated'], 'delayed' => (double) $packet['delayed'], 'started' => (double) $packet['started'], 'finished' => (double) $packet['finished'], 'output' => $packet['output'], 'exception' => $packet['exception']);
    }