public function setTimeout($timeout)
    {
        $timeout = intval($timeout);
        if (!empty($timeout)) {
            $this->timeout = $timeout;
        }
    }
public function setTimeout($timeout)
    {
        $timeout = intval($timeout);
        if (!empty($timeout)) {
            $this->timeout = $timeout;
        }
    }
public function setTimeout ( $ timeout ) { $ timeout = intval ( $ timeout ) ; if ( ! empty ( $ timeout ) ) { $ this -> timeout = $ timeout ; } }
Set the maximum number of seconds to allow cURL functions to execute.

@param int $timeout
Set the maximum number of seconds to allow cURL functions to execute .