Lines Matching refs:this

59         $this->setParams($params);
60 $this->setEnabled(true);
63 if (!$this->hasParam('config')) {
64 $this->setParam('config', []);
73 return $this->hasParam('port') ? $this->getParam('port') : self::DEFAULT_PORT;
79 * @return $this
83 return $this->setParam('port', (int) $port);
91 return $this->hasParam('host') ? $this->getParam('host') : self::DEFAULT_HOST;
97 * @return $this
101 return $this->setParam('host', $host);
109 return $this->hasParam('proxy') ? $this->getParam('proxy') : null;
120 * @return $this
124 return $this->setParam('proxy', $proxy);
132 return $this->hasParam('transport') ? $this->getParam('transport') : self::DEFAULT_TRANSPORT;
138 * @return $this
142 return $this->setParam('transport', $transport);
150 return (bool) $this->hasParam('compression') ? $this->getParam('compression') : self::DEFAULT_COMPRESSION;
156 * @return $this
160 return $this->setParam('compression', $compression);
168 return $this->hasParam('path') ? $this->getParam('path') : '';
174 * @return $this
178 return $this->setParam('path', $path);
184 * @return $this
188 return $this->setParam('timeout', $timeout);
196 return (int) $this->hasParam('timeout') ? $this->getParam('timeout') : self::TIMEOUT;
209 * @return $this
213 return $this->setParam('connectTimeout', $timeout);
221 return (int) $this->hasParam('connectTimeout') ? $this->getParam('connectTimeout') : self::CONNECT_TIMEOUT;
229 * @return $this
233 return $this->setParam('enabled', $enabled);
241 return (bool) $this->getParam('enabled');
253 $transport = $this->getTransport();
255 return AbstractTransport::create($transport, $this);
263 return (bool) $this->hasParam('persistent') ? $this->getParam('persistent') : true;
267 * @return $this
271 return $this->setParam('config', $config);
278 * @return $this
282 $this->_params['config'][$key] = $value;
284 return $this;
294 $config = $this->getConfig();
311 $config = $this->getParam('config');
348 return $this->hasParam('username') ? $this->getParam('username') : null;
356 return $this->hasParam('password') ? $this->getParam('password') : null;
364 return $this->hasParam('auth_type') ? \strtolower($this->getParam('auth_type')) : null;