Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Calotype
SEO
Generators
RobotsGenerator
addUserAgent
Calotype\SEO\Generators\RobotsGenerator::addUserAgent PHP Метод
Документация по классу RobotsGenerator
Показать файл
Открыть проект
addUserAgent()
публичный
Метод
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