src/MultiRequest.php
public function get()
    {
        $responses = [];
        $handle = curl_multi_init();

        foreach ($this as $request) {
            if ($request instanceof Request) {
                curl_multi_add_handle($handle, $curlHandles[] = $request->getHandle());
            }
        }

        if ( ! empty($curlHandles)) {
            // execute the handles
            $running = null;
            do {
                curl_multi_exec($handle, $running);
            } while ($running > 0);


            // get content and remove handles
            foreach ($curlHandles as $curlHandle) {
                $responses[] = curl_multi_getcontent($curlHandle);
                curl_multi_remove_handle($handle, $curlHandle);
            }

        }

        // all done
        curl_multi_close($handle);

        return $responses;
    }
public function get()
    {
        $responses = [];
        $handle = curl_multi_init();

        foreach ($this as $request) {
            if ($request instanceof Request) {
                curl_multi_add_handle($handle, $curlHandles[] = $request->getHandle());
            }
        }

        if ( ! empty($curlHandles)) {
            // execute the handles
            $running = null;
            do {
                curl_multi_exec($handle, $running);
            } while ($running > 0);


            // get content and remove handles
            foreach ($curlHandles as $curlHandle) {
                $responses[] = curl_multi_getcontent($curlHandle);
                curl_multi_remove_handle($handle, $curlHandle);
            }

        }

        // all done
        curl_multi_close($handle);

        return $responses;
    }
MultiRequest::getResponse

Get response from multiple curl request.

@return array