src/MongolidFailedJobProvider.php
private function presentJob($job)
    {
        $job = (array) $job;

        return (object) [
            'id' => (string) $job['_id'],
            'connection' => $job['connection'],
            'queue' => $job['queue'],
            'payload' => $job['payload'],
            'exception' => $job['exception'],
            'failed_at' => LocalDateTime::format($job['failed_at'], DateTime::ATOM),
        ];
    }
private function presentJob($job)
    {
        $job = (array) $job;

        return (object) [
            'id' => (string) $job['_id'],
            'connection' => $job['connection'],
            'queue' => $job['queue'],
            'payload' => $job['payload'],
            'exception' => $job['exception'],
            'failed_at' => LocalDateTime::format($job['failed_at'], DateTime::ATOM),
        ];
    }
private function presentJob ( $ job ) { $ job = ( array ) $ job ; return ( object ) [ 'id' => ( string ) $ job [ '_id' ] , 'connection' => $ job [ 'connection' ] , 'queue' => $ job [ 'queue' ] , 'payload' => $ job [ 'payload' ] , 'exception' => $ job [ 'exception' ] , 'failed_at' => LocalDateTime :: format ( $ job [ 'failed_at' ] , DateTime :: ATOM ) , ] ; }
Prepare job to be consumed by Laravel Commands.

@param object $job

@return object
Prepare job to be consumed by Laravel Commands .