Lines Matching refs:scheme
57 private $scheme = ''; variable in GuzzleHttp\\Psr7\\Uri
138 $this->scheme,
167 …public static function composeComponents(?string $scheme, ?string $authority, string $path, ?strin… argument
172 if ($scheme != '') {
173 $uri .= $scheme.':';
176 if ($authority != '' || $scheme === 'file') {
371 return $this->scheme;
418 public function withScheme($scheme): UriInterface argument
420 $scheme = $this->filterScheme($scheme);
422 if ($this->scheme === $scheme) {
427 $new->scheme = $scheme;
545 $this->scheme = isset($parts['scheme'])
574 * @param mixed $scheme
578 private function filterScheme($scheme): string argument
580 if (!is_string($scheme)) {
584 return \strtr($scheme, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz');
730 if ($this->host === '' && ($this->scheme === 'http' || $this->scheme === 'https')) {
738 if ($this->scheme === '' && false !== strpos(explode('/', $this->path, 2)[0], ':')) {