Method |
Description |
|
addAllow ( string | array $directories ) |
Add a allow rule to the robots.txt. |
|
addComment ( string $comment ) |
Add a comment to the robots.txt. |
|
addDisallow ( string | array $directories ) |
Add a disallow rule to the robots.txt. |
|
addHost ( string $host ) |
Add a Host to the robots.txt. |
|
addLine ( string $line ) |
Add a line to the robots.txt. |
|
addLines ( string | array $lines ) |
Add multiple lines to the robots.txt. |
|
addSitemap ( string $sitemap ) |
Add a Sitemap to the robots.txt. |
|
addSpacer ( ) |
Add a spacer to the robots.txt. |
|
addUserAgent ( string $userAgent ) |
Add a User-agent to the robots.txt. |
|
generate ( ) : string |
Generate the robots.txt data. |
|
reset ( ) : void |
Reset the lines. |
|