config = $config; } public function getHttpDriver(): HttpDriver { if (is_null($this->http)) { $this->http = HttpDrivers::getHttpDriver($this->config['upload_by_url_timeout'], $this->config['max_filesize']); } return $this->http; } }