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
Calotype
SEO
Generators
RobotsGenerator
addHost
Calotype\SEO\Generators\RobotsGenerator::addHost PHP Method
RobotsGenerator Class Documentation
Show file
Open project: calotype/seo
addHost()
public
method
Add a Host to the robots.txt.
public
addHost
(
string
$host
)
$host
string
public function addHost($host) { $this->addLine("Host: {$host}"); }
RobotsGenerator
addAllow
addComment
addDisallow
addHost
addLine
addLines
addRuleLine
addSitemap
addSpacer
addUserAgent
generate
reset