File "ExtendedQueueable.php"

Full Path: /home/isoftco/public_html/hrm/vendor/maatwebsite/excel/src/Jobs/ExtendedQueueable.php
File size: 402 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace Maatwebsite\Excel\Jobs;

use Illuminate\Bus\Queueable;

trait ExtendedQueueable
{
    use Queueable {
        chain as originalChain;
    }

    /**
     * @param $chain
     *
     * @return $this
     */
    public function chain($chain)
    {
        collect($chain)->each(function ($job) {
            $this->chained[] = serialize($job);
        });

        return $this;
    }
}