src/Internal/AbstractScheduler.php
protected function resolveEntries(array $entries)
    {
        foreach ($entries as $entry) {
            $deferred = $this->deferreds[(string)$entry['handle']];
            unset($this->deferreds[(string)$entry['handle']]);
            $entry['result'] === CURLE_OK
                ? $deferred->resolve(curl_multi_getcontent($entry['handle']))
                : $deferred->reject(new CURLException(curl_error($entry['handle']), $entry['result'], $entry['handle']));
        }
    }
protected function resolveEntries(array $entries)
    {
        foreach ($entries as $entry) {
            $deferred = $this->deferreds[(string)$entry['handle']];
            unset($this->deferreds[(string)$entry['handle']]);
            $entry['result'] === CURLE_OK
                ? $deferred->resolve(curl_multi_getcontent($entry['handle']))
                : $deferred->reject(new CURLException(curl_error($entry['handle']), $entry['result'], $entry['handle']));
        }
    }
protected function resolveEntries ( array $ entries ) { foreach ( $ entries as $ entry ) { $ deferred = $ this -> deferreds [ ( string ) $ entry [ 'handle' ] ] ; unset ( $ this -> deferreds [ ( string ) $ entry [ 'handle' ] ] ) ; $ entry [ 'result' ] === CURLE_OK ? $ deferred -> resolve ( curl_multi_getcontent ( $ entry [ 'handle' ] ) ) : $ deferred -> reject ( new CURLException ( curl_error ( $ entry [ 'handle' ] ) , $ entry [ 'result' ] , $ entry [ 'handle' ] ) ) ; } }
Resolve polled cURLs.
@param  array $entries Polled cURL entries.
Resolve polled cURLs .