메소드 | 설명 | |
---|---|---|
__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 ( ) : |
||
리턴 |
public disableTwitter ( ) : |
||
리턴 |
public meta ( ) : Arcanedev\SeoHelper\Contracts\SeoMeta | ||
리턴 | Arcanedev\SeoHelper\Contracts\SeoMeta |
public og ( ) : Arcanedev\SeoHelper\Contracts\SeoOpenGraph | ||
리턴 | Arcanedev\SeoHelper\Contracts\SeoOpenGraph |
public openGraph ( ) : Arcanedev\SeoHelper\Contracts\SeoOpenGraph | ||
리턴 | Arcanedev\SeoHelper\Contracts\SeoOpenGraph |
public renderHtml ( ) : Illuminate\Support\HtmlString | ||
리턴 | Illuminate\Support\HtmlString |
public setDescription ( string $description ) : Arcanedev\SeoHelper\Contracts\SeoHelper | ||
$description | string | |
리턴 | Arcanedev\SeoHelper\Contracts\SeoHelper |
public setKeywords ( array | string $keywords ) : |
||
$keywords | array | string | |
리턴 |
public setSeoMeta ( Arcanedev\SeoHelper\Contracts\SeoMeta $seoMeta ) : |
||
$seoMeta | Arcanedev\SeoHelper\Contracts\SeoMeta | |
리턴 |
public setSeoOpenGraph ( Arcanedev\SeoHelper\Contracts\SeoOpenGraph $seoOpenGraph ) : |
||
$seoOpenGraph | Arcanedev\SeoHelper\Contracts\SeoOpenGraph | |
리턴 |
public setSeoTwitter ( Arcanedev\SeoHelper\Contracts\SeoTwitter $seoTwitter ) : |
||
$seoTwitter | Arcanedev\SeoHelper\Contracts\SeoTwitter | |
리턴 |
public setSiteName ( string $siteName ) : self | ||
$siteName | string | |
리턴 | self |
public twitter ( ) : Arcanedev\SeoHelper\Contracts\SeoTwitter | ||
리턴 | Arcanedev\SeoHelper\Contracts\SeoTwitter |