PHP Interface Arcanedev\SeoHelper\Contracts\Entities\TwitterCard

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

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 card.
addMetas ( array $metas ) : self Add many metas to the card.
reset ( ) : self Reset the card.
setDescription ( string $description ) : self Set card description.
setSite ( string $site ) : self Set card site.
setTitle ( string $title ) : self Set card title.
setType ( string $type ) : self Set the card type.
types ( ) : array Get all supported card types.

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 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

reset() public méthode

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

setDescription() public méthode

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

setSite() public méthode

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

setTitle() public méthode

Set 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

types() public méthode

Get all supported card types.
public types ( ) : array
Résultat array