Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Icicle
Http
Message
Uri
withScheme
Icicle\Http\Message\Uri::withScheme PHP Method
Uri Interface Documentation
Show file
Open project: icicleio/http
withScheme()
public
method
Returns a new instance with the given scheme or no scheme if null. :// or : suffix should be trimmed.
public
withScheme
(
string
$scheme
= null ) :
Icicle\Http\Message\Uri
$scheme
string
return
Icicle\Http\Message\Uri
public function withScheme(string $scheme = null) : Uri;
Uri
__toString
getFragment
getHost
getPath
getPort
getQueryValue
getQueryValueAsArray
getQueryValues
getScheme
hasQueryValue
withFragment
withPort
withQuery
withQueryValue
withScheme
withUser
withoutQueryValue