PHP Interface Arcanedev\SeoHelper\Contracts\SeoTwitter

Author: ARCANEDEV ([email protected])
Inheritance: extends Arcanedev\SeoHelper\Contracts\Renderable
Afficher le fichier Open project: arcanedev/seo-helper

Méthodes publiques

Méthode Description
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.

Method Details

addImage() public méthode

Add image to the card.
public addImage ( string $url ) : self
$url string
Résultat self

addMeta() public méthode

Add a meta to the twitter card.
public addMeta ( string $name, string $content ) : self
$name string
$content string
Résultat self

addMetas() public méthode

Add many metas to the card.
public addMetas ( array $metas ) : self
$metas array
Résultat self

disable() public méthode

Disable the Twitter Card.
public disable ( ) : self
Résultat self

enable() public méthode

Enable the Twitter Card.
public enable ( ) : self
Résultat self

isDisabled() public méthode

Check if the Twitter Card is disabled.
public isDisabled ( ) : boolean
Résultat boolean

isEnabled() public méthode

Check if the Twitter Card is enabled.
public isEnabled ( ) : boolean
Résultat boolean

reset() public méthode

Reset the twitter card.
public reset ( ) : self
Résultat self

setCard() public méthode

Set the twitter card instance.
public setCard ( Arcanedev\SeoHelper\Contracts\Entities\TwitterCard $card ) : self
$card Arcanedev\SeoHelper\Contracts\Entities\TwitterCard
Résultat self

setDescription() public méthode

Set the card description.
public setDescription ( string $description ) : self
$description string
Résultat self

setSite() public méthode

Set the card site.
public setSite ( string $site ) : self
$site string
Résultat self

setTitle() public méthode

Set the card title.
public setTitle ( string $title ) : self
$title string
Résultat self

setType() public méthode

Set the card type.
public setType ( string $type ) : self
$type string
Résultat self