Method | Description | |
---|---|---|
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 | |
return | self |
public addKeywords ( array $keywords ) : self | ||
$keywords | array | |
return | self |
public addWebmaster ( string $webmaster, string $content ) : self | ||
$webmaster | string | |
$content | string | |
return | self |
public description ( Arcanedev\SeoHelper\Contracts\Entities\Description $description ) : self | ||
$description | Arcanedev\SeoHelper\Contracts\Entities\Description | |
return | self |
public keywords ( Arcanedev\SeoHelper\Contracts\Entities\Keywords $keywords ) : self | ||
$keywords | Arcanedev\SeoHelper\Contracts\Entities\Keywords | |
return | self |
public misc ( Arcanedev\SeoHelper\Contracts\Entities\MiscTags $misc ) : self | ||
$misc | Arcanedev\SeoHelper\Contracts\Entities\MiscTags | |
return | self |
public removeMeta ( string | array $names ) : self | ||
$names | string | array | |
return | self |
public resetMetas ( ) : self | ||
return | self |
public resetWebmasters ( ) : self | ||
return | self |
public setDescription ( string $content ) : self | ||
$content | string | |
return | self |
public setGoogleAnalytics ( string $code ) : self | ||
$code | string | |
return | self |
public setKeywords ( array | string $content ) : self | ||
$content | array | string | |
return | self |
public setSiteName ( string $siteName ) : self | ||
$siteName | string | |
return | self |
public title ( Arcanedev\SeoHelper\Contracts\Entities\Title $title ) : self | ||
$title | Arcanedev\SeoHelper\Contracts\Entities\Title | |
return | self |
public webmasters ( Arcanedev\SeoHelper\Contracts\Entities\Webmasters $webmasters ) : self | ||
$webmasters | Arcanedev\SeoHelper\Contracts\Entities\Webmasters | |
return | self |