Lines Matching refs:scheme
15 private $scheme = 'http';
85 if (!isset($uriParts['scheme'])) {
86 throw new InvalidArgumentException('Invalid URI: http|https scheme required');
89 $this->scheme = $uriParts['scheme'];
96 $this->port = strcmp('https', $uriParts['scheme']) ? 80 : 443;
149 return $this->scheme;
246 $uri = $this->scheme . '://' . $this->getRawAuthority();
289 $uri = $this->scheme . '://' . $this->getAuthority();
353 * @param string $scheme
355 public function setScheme($scheme)
357 $this->scheme = $scheme;
378 if (('https' === $this->scheme && $this->port === 443) || ('http' === $this->scheme && $this->port === 80)) {