Свойство | Type | Description | |
---|---|---|---|
$images | array | Card images. | |
$metas | Arcanedev\SeoHelper\Contracts\Entities\MetaCollection | Card meta collection. | |
$type | string | Card type. |
Méthode | Description | |
---|---|---|
__construct ( array $configs = [] ) | Make the twitter card instance. | |
__toString ( ) : string | Render the tag. | |
addImage ( string $url ) : |
Add image to the card. | |
addMeta ( string $name, string $content ) : |
Add a meta to the card. | |
addMetas ( array $metas ) : |
Add many metas to the card. | |
render ( ) : string | Render the twitter card. | |
reset ( ) : |
Reset the card. | |
setDescription ( string $description ) : |
Set card description. | |
setSite ( string $site ) : |
Set card site. | |
setTitle ( string $title ) : |
Set card title. | |
setType ( string $type ) : |
Set the card type. | |
types ( ) : array | Get all supported card types. |
Méthode | Description | |
---|---|---|
checkSite ( string &$site ) | Check the card site. | |
checkType ( string &$type ) | Check the card type. | |
init ( ) : |
Start the engine. | |
loadImages ( ) | Render card images. | |
prepareUsername ( string $username ) : string | Prepare username. | |
setPrefix ( string $prefix ) : |
Set meta prefix name. |
public __construct ( array $configs = [] ) | ||
$configs | array |
public setDescription ( string $description ) : |
||
$description | string | |
Résultat |
protected MetaCollection,Arcanedev\SeoHelper\Contracts\Entities $metas | ||
Résultat | Arcanedev\SeoHelper\Contracts\Entities\MetaCollection |