Lines Matching refs:scheme
43 private $scheme = ''; variable in GuzzleHttp\\Psr7\\Uri
124 $this->scheme,
148 * @param string $scheme
158 public static function composeComponents($scheme, $authority, $path, $query, $fragment) argument
163 if ($scheme != '') {
164 $uri .= $scheme . ':';
167 if ($authority != ''|| $scheme === 'file') {
425 return $this->scheme;
472 public function withScheme($scheme) argument
474 $scheme = $this->filterScheme($scheme);
476 if ($this->scheme === $scheme) {
481 $new->scheme = $scheme;
587 $this->scheme = isset($parts['scheme'])
616 * @param string $scheme
622 private function filterScheme($scheme) argument
624 if (!is_string($scheme)) {
628 return \strtr($scheme, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz');
789 if ($this->host === '' && ($this->scheme === 'http' || $this->scheme === 'https')) {
797 if ($this->scheme === '' && false !== strpos(explode('/', $this->path, 2)[0], ':')) {