Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Calotype
SEO
Generators
RobotsGenerator
addUserAgent
Calotype\SEO\Generators\RobotsGenerator::addUserAgent PHP Méthode
RobotsGenerator Class Documentation
Afficher le fichier
Open project: calotype/seo
addUserAgent()
public
méthode
Add a User-agent to the robots.txt.
public
addUserAgent
(
string
$userAgent
)
$userAgent
string
public function addUserAgent($userAgent) { $this->addLine("User-agent: {$userAgent}"); }
RobotsGenerator
addAllow
addComment
addDisallow
addHost
addLine
addLines
addRuleLine
addSitemap
addSpacer
addUserAgent
generate
reset