Метод | Описание | |
---|---|---|
addKeyword ( string $keyword ) : self | Add a keyword. | |
addKeywords ( array $keywords ) : self | Add many keywords. | |
addMeta ( string $name, string $content ) : self | Add a meta tag. | |
addMetas ( array $metas ) : self | Add many meta tags. | |
addWebmaster ( string $webmaster, string $content ) : self | Add a webmaster tool site verifier. | |
description ( Arcanedev\SeoHelper\Contracts\Entities\Description $description ) : self | Set the Description instance. | |
keywords ( Arcanedev\SeoHelper\Contracts\Entities\Keywords $keywords ) : self | Set the Keywords instance. | |
misc ( Arcanedev\SeoHelper\Contracts\Entities\MiscTags $misc ) : self | Set the MiscTags instance. | |
removeMeta ( string | array $names ) : self | Remove a meta from the meta collection by key. | |
resetMetas ( ) : self | Reset the meta collection except the description and keywords metas. | |
resetWebmasters ( ) : self | Reset all webmaster tool site verifier metas. | |
setDescription ( string $content ) : self | Set the description content. | |
setGoogleAnalytics ( string $code ) : self | Set the Google Analytics code. | |
setKeywords ( array | string $content ) : self | Set the keywords content. | |
setSiteName ( string $siteName ) : self | Set the site name. | |
setTitle ( string $title, string $siteName = null, string $separator = null ) : self | Set the title. | |
setUrl ( string $url ) : self | Set the current URL. | |
title ( Arcanedev\SeoHelper\Contracts\Entities\Title $title ) : self | Set the Title instance. | |
webmasters ( Arcanedev\SeoHelper\Contracts\Entities\Webmasters $webmasters ) : self | Set the Webmasters instance. |
public addKeyword ( string $keyword ) : self | ||
$keyword | string | |
Результат | self |
public addKeywords ( array $keywords ) : self | ||
$keywords | array | |
Результат | self |
public addWebmaster ( string $webmaster, string $content ) : self | ||
$webmaster | string | |
$content | string | |
Результат | self |
public description ( Arcanedev\SeoHelper\Contracts\Entities\Description $description ) : self | ||
$description | Arcanedev\SeoHelper\Contracts\Entities\Description | |
Результат | self |
public keywords ( Arcanedev\SeoHelper\Contracts\Entities\Keywords $keywords ) : self | ||
$keywords | Arcanedev\SeoHelper\Contracts\Entities\Keywords | |
Результат | self |
public misc ( Arcanedev\SeoHelper\Contracts\Entities\MiscTags $misc ) : self | ||
$misc | Arcanedev\SeoHelper\Contracts\Entities\MiscTags | |
Результат | self |
public removeMeta ( string | array $names ) : self | ||
$names | string | array | |
Результат | self |
public resetMetas ( ) : self | ||
Результат | self |
public resetWebmasters ( ) : self | ||
Результат | self |
public setDescription ( string $content ) : self | ||
$content | string | |
Результат | self |
public setGoogleAnalytics ( string $code ) : self | ||
$code | string | |
Результат | self |
public setKeywords ( array | string $content ) : self | ||
$content | array | string | |
Результат | self |
public setSiteName ( string $siteName ) : self | ||
$siteName | string | |
Результат | self |
public title ( Arcanedev\SeoHelper\Contracts\Entities\Title $title ) : self | ||
$title | Arcanedev\SeoHelper\Contracts\Entities\Title | |
Результат | self |
public webmasters ( Arcanedev\SeoHelper\Contracts\Entities\Webmasters $webmasters ) : self | ||
$webmasters | Arcanedev\SeoHelper\Contracts\Entities\Webmasters | |
Результат | self |