lib/Configuration.php
public function setCurlTimeout($seconds)
    {
        if (!is_numeric($seconds) || $seconds < 0) {
            throw new \InvalidArgumentException('Timeout value must be numeric and a non-negative number.');
        }

        $this->curlTimeout = $seconds;
        return $this;
    }
public function setCurlTimeout($seconds)
    {
        if (!is_numeric($seconds) || $seconds < 0) {
            throw new \InvalidArgumentException('Timeout value must be numeric and a non-negative number.');
        }

        $this->curlTimeout = $seconds;
        return $this;
    }
public function setCurlTimeout ( $ seconds ) { if ( ! is_numeric ( $ seconds ) || $ seconds < 0 ) { throw new \ InvalidArgumentException ( 'Timeout value must be numeric and a non-negative number.' ) ; } $ this -> curlTimeout = $ seconds ; return $ this ; }
Sets the HTTP timeout value

@param integer $seconds Number of seconds before timing out [set to 0 for no timeout]

@return ApiClient
Sets the HTTP timeout value