PHP Interface Arcanedev\SeoHelper\Contracts\Entities\MetaCollection

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
add ( string $name, string $content ) : self Add a meta to collection.
addMany ( array $metas ) : self Add many meta tags.
remove ( array | string $names ) : self Remove a meta from the meta collection by key.

Method Details

add() public méthode

Add a meta to collection.
public add ( string $name, string $content ) : self
$name string
$content string
Résultat self

addMany() public méthode

Add many meta tags.
public addMany ( array $metas ) : self
$metas array
Résultat self

remove() public méthode

Remove a meta from the meta collection by key.
public remove ( array | string $names ) : self
$names array | string
Résultat self