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
Spatie
Crawler
Url
setHost
Spatie\Crawler\Url::setHost PHP Method
Url Class Documentation
Show file
Open project: spatie/crawler
setHost()
public
method
public
setHost
(
string
$host
)
$host
string
public function setHost(string $host) { $this->host = $host; return $this; }
Url
__construct
__toString
create
hasCrawlableScheme
isEmailUrl
isEqual
isJavascript
isProtocolIndependent
isRelative
isTelUrl
path
removeFragment
segment
segments
setHost
setPort
setScheme
startsWith