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