Method | Description | |
---|---|---|
__construct ( Arcanedev\SeoHelper\Contracts\SeoMeta $seoMeta, Arcanedev\SeoHelper\Contracts\SeoOpenGraph $seoOpenGraph, Arcanedev\SeoHelper\Contracts\SeoTwitter $seoTwitter ) | Make SeoHelper instance. | |
__toString ( ) : string | Render the tag. | |
disableOpenGraph ( ) : |
Disable the OpenGraph. | |
disableTwitter ( ) : |
Disable the Twitter Card. | |
enableOpenGraph ( ) : |
Enable the OpenGraph. | |
enableTwitter ( ) : |
Enable the Twitter Card. | |
meta ( ) : Arcanedev\SeoHelper\Contracts\SeoMeta | Get SeoMeta instance. | |
og ( ) : Arcanedev\SeoHelper\Contracts\SeoOpenGraph | Get SeoOpenGraph instance (alias). | |
openGraph ( ) : Arcanedev\SeoHelper\Contracts\SeoOpenGraph | Get SeoOpenGraph instance. | |
render ( ) : string | Render all seo tags. | |
renderHtml ( ) : Illuminate\Support\HtmlString | Render all seo tags with HtmlString object. | |
setDescription ( string $description ) : Arcanedev\SeoHelper\Contracts\SeoHelper | Set description. | |
setKeywords ( array | string $keywords ) : |
Set keywords. | |
setSeoMeta ( Arcanedev\SeoHelper\Contracts\SeoMeta $seoMeta ) : |
Set SeoMeta instance. | |
setSeoOpenGraph ( Arcanedev\SeoHelper\Contracts\SeoOpenGraph $seoOpenGraph ) : |
Get SeoOpenGraph instance. | |
setSeoTwitter ( Arcanedev\SeoHelper\Contracts\SeoTwitter $seoTwitter ) : |
Set SeoTwitter instance. | |
setSiteName ( string $siteName ) : self | Set the site name. | |
setTitle ( string $title, string | null $siteName = null, string | null $separator = null ) : |
Set title. | |
twitter ( ) : Arcanedev\SeoHelper\Contracts\SeoTwitter | Get SeoTwitter instance. |
public __construct ( Arcanedev\SeoHelper\Contracts\SeoMeta $seoMeta, Arcanedev\SeoHelper\Contracts\SeoOpenGraph $seoOpenGraph, Arcanedev\SeoHelper\Contracts\SeoTwitter $seoTwitter ) | ||
$seoMeta | Arcanedev\SeoHelper\Contracts\SeoMeta | |
$seoOpenGraph | Arcanedev\SeoHelper\Contracts\SeoOpenGraph | |
$seoTwitter | Arcanedev\SeoHelper\Contracts\SeoTwitter |
public disableOpenGraph ( ) : |
||
return |
public disableTwitter ( ) : |
||
return |
public enableOpenGraph ( ) : |
||
return |
public enableTwitter ( ) : |
||
return |
public meta ( ) : Arcanedev\SeoHelper\Contracts\SeoMeta | ||
return | Arcanedev\SeoHelper\Contracts\SeoMeta |
public og ( ) : Arcanedev\SeoHelper\Contracts\SeoOpenGraph | ||
return | Arcanedev\SeoHelper\Contracts\SeoOpenGraph |
public openGraph ( ) : Arcanedev\SeoHelper\Contracts\SeoOpenGraph | ||
return | Arcanedev\SeoHelper\Contracts\SeoOpenGraph |
public renderHtml ( ) : Illuminate\Support\HtmlString | ||
return | Illuminate\Support\HtmlString |
public setDescription ( string $description ) : Arcanedev\SeoHelper\Contracts\SeoHelper | ||
$description | string | |
return | Arcanedev\SeoHelper\Contracts\SeoHelper |
public setKeywords ( array | string $keywords ) : |
||
$keywords | array | string | |
return |
public setSeoMeta ( Arcanedev\SeoHelper\Contracts\SeoMeta $seoMeta ) : |
||
$seoMeta | Arcanedev\SeoHelper\Contracts\SeoMeta | |
return |
public setSeoOpenGraph ( Arcanedev\SeoHelper\Contracts\SeoOpenGraph $seoOpenGraph ) : |
||
$seoOpenGraph | Arcanedev\SeoHelper\Contracts\SeoOpenGraph | |
return |
public setSeoTwitter ( Arcanedev\SeoHelper\Contracts\SeoTwitter $seoTwitter ) : |
||
$seoTwitter | Arcanedev\SeoHelper\Contracts\SeoTwitter | |
return |
public setSiteName ( string $siteName ) : self | ||
$siteName | string | |
return | self |
public twitter ( ) : Arcanedev\SeoHelper\Contracts\SeoTwitter | ||
return | Arcanedev\SeoHelper\Contracts\SeoTwitter |