PHP Интерфейс Arcanedev\SeoHelper\Contracts\SeoTwitter

Автор: ARCANEDEV ([email protected])
Наследование: extends Arcanedev\SeoHelper\Contracts\Renderable
Показать файл Открыть проект

Открытые методы

Метод Описание
addImage ( string $url ) : self Add image to the card.
addMeta ( string $name, string $content ) : self Add a meta to the twitter card.
addMetas ( array $metas ) : self Add many metas to the card.
disable ( ) : self Disable the Twitter Card.
enable ( ) : self Enable the Twitter Card.
isDisabled ( ) : boolean Check if the Twitter Card is disabled.
isEnabled ( ) : boolean Check if the Twitter Card is enabled.
reset ( ) : self Reset the twitter card.
setCard ( Arcanedev\SeoHelper\Contracts\Entities\TwitterCard $card ) : self Set the twitter card instance.
setDescription ( string $description ) : self Set the card description.
setSite ( string $site ) : self Set the card site.
setTitle ( string $title ) : self Set the card title.
setType ( string $type ) : self Set the card type.

Описание методов

addImage() публичный Метод

Add image to the card.
public addImage ( string $url ) : self
$url string
Результат self

addMeta() публичный Метод

Add a meta to the twitter card.
public addMeta ( string $name, string $content ) : self
$name string
$content string
Результат self

addMetas() публичный Метод

Add many metas to the card.
public addMetas ( array $metas ) : self
$metas array
Результат self

disable() публичный Метод

Disable the Twitter Card.
public disable ( ) : self
Результат self

enable() публичный Метод

Enable the Twitter Card.
public enable ( ) : self
Результат self

isDisabled() публичный Метод

Check if the Twitter Card is disabled.
public isDisabled ( ) : boolean
Результат boolean

isEnabled() публичный Метод

Check if the Twitter Card is enabled.
public isEnabled ( ) : boolean
Результат boolean

reset() публичный Метод

Reset the twitter card.
public reset ( ) : self
Результат self

setCard() публичный Метод

Set the twitter card instance.
public setCard ( Arcanedev\SeoHelper\Contracts\Entities\TwitterCard $card ) : self
$card Arcanedev\SeoHelper\Contracts\Entities\TwitterCard
Результат self

setDescription() публичный Метод

Set the card description.
public setDescription ( string $description ) : self
$description string
Результат self

setSite() публичный Метод

Set the card site.
public setSite ( string $site ) : self
$site string
Результат self

setTitle() публичный Метод

Set the card title.
public setTitle ( string $title ) : self
$title string
Результат self

setType() публичный Метод

Set the card type.
public setType ( string $type ) : self
$type string
Результат self