public function getProxy() { return $this->proxyHost ? ['host' => $this->proxyHost, 'port' => $this->proxyPort, 'user' => $this->proxyUser, 'pass' => $this->proxyPass, 'type' => $this->proxyType, 'authtype' => $this->authType] : false; }