public function set_timeout($timeout) { $this->config['timeout'] = $timeout; return $this->config['timeout']; }