PHP Interface Arcanedev\SeoHelper\Contracts\Entities\MetaCollection

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

Public Methods

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

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

addMany() public method

Add many meta tags.
public addMany ( array $metas ) : self
$metas array
return self

remove() public method

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