src/Jobs/Collection.php
public function multiget(array $jids): array
    {
        if (empty($jids)) {
            return [];
        }


        $results = call_user_func_array([$this->client, 'multiget'], $jids);
        $jobs = json_decode($results, true) ?: [];

        $ret = [];
        foreach ($jobs as $data) {
            $job = new BaseJob($this->client, $data);
            $job->setEventsManager($this->client->getEventsManager());

            $ret[$job->jid] = $job;
        }

        return $ret;
    }
public function multiget(array $jids): array
    {
        if (empty($jids)) {
            return [];
        }


        $results = call_user_func_array([$this->client, 'multiget'], $jids);
        $jobs = json_decode($results, true) ?: [];

        $ret = [];
        foreach ($jobs as $data) {
            $job = new BaseJob($this->client, $data);
            $job->setEventsManager($this->client->getEventsManager());

            $ret[$job->jid] = $job;
        }

        return $ret;
    }
Returns an array of jobs for the specified job identifiers, keyed by job identifier

@param  string[] $jids
@return BaseJob[]