src/MultiCurlManager.php
public function waitForAllRequests()
    {
        while ($this->multiCurl->getStillRunningRequests() > 0
            && $this->multiCurl->getCurrentExecutionCode() === CURLM_OK
        ) {
            $this->multiCurl->select();
            $this->executeMultiCurl();
        }
        return $this;
    }
public function waitForAllRequests()
    {
        while ($this->multiCurl->getStillRunningRequests() > 0
            && $this->multiCurl->getCurrentExecutionCode() === CURLM_OK
        ) {
            $this->multiCurl->select();
            $this->executeMultiCurl();
        }
        return $this;
    }
public function waitForAllRequests ( ) { while ( $ this -> multiCurl -> getStillRunningRequests ( ) > 0 && $ this -> multiCurl -> getCurrentExecutionCode ( ) === CURLM_OK ) { $ this -> multiCurl -> select ( ) ; $ this -> executeMultiCurl ( ) ; } return $ this ; }
Delays the script execution until all requests have been finished.
@return $this Implementing fluent interface.
Delays the script execution until all requests have been finished .