Searched refs:withScheme (Results 1 – 13 of 13) sorted by relevance
44 public function withScheme(?string $scheme) function in Nyholm\\Dsn\\Configuration\\Path50 return parent::withScheme($scheme);
40 public function withScheme(?string $scheme) function in Nyholm\\Dsn\\Configuration\\Dsn
156 return $target->withScheme('');162 …$emptyPathUri = $target->withScheme('')->withPath('')->withUserInfo('')->withPort(null)->withHost(…
472 public function withScheme($scheme) function in GuzzleHttp\\Psr7\\Uri
144 return $target->withScheme('');150 …$emptyPathUri = $target->withScheme('')->withPath('')->withUserInfo('')->withPort(null)->withHost(…
418 public function withScheme($scheme): UriInterface function in GuzzleHttp\\Psr7\\Uri
191 public function withScheme($scheme); function
192 public function withScheme(string $scheme): UriInterface; function
222 return $uri->getScheme() === '' && $uri->getHost() !== '' ? $uri->withScheme('http') : $uri;
223 return $uri->getScheme() === '' && $uri->getHost() !== '' ? $uri->withScheme('http') : $uri;
187 - `(new Uri())->withScheme('http')` will return `'http://localhost'`
108 | `withScheme($scheme)` | Return an instance with the specified scheme. | |
323 - `(new Uri())->withScheme('http')` will return `'http://localhost'`