Property | Type | Description | |
---|---|---|---|
$ignored | array | Ignored tags, they have dedicated class. | |
$items | array | The items contained in the collection. | |
$nameProperty | string | Meta tag name property. | |
$prefix | string | Meta tag prefix. |
Method | Description | |
---|---|---|
__toString ( ) : string | Render the tag. | |
add ( string $name, string $content ) : |
Add a meta to collection. | |
addMany ( array $metas ) : |
Add many meta tags. | |
forget ( string | array $keys ) : |
Remove an item from the collection by key. | |
remove ( array | string $names ) : |
Remove a meta from the collection by key. | |
render ( ) : string | Render the tag. | |
setPrefix ( string $prefix ) : |
Set meta prefix name. |
Method | Description | |
---|---|---|
addMeta ( string $name, string $content ) : |
Make a meta and add it to collection. | |
isIgnored ( string $name ) : boolean | Check if meta is ignored. | |
prepareName ( array | string $names ) : array | Prepare names. |
Method | Description | |
---|---|---|
refresh ( ) : |
Refresh meta collection items. |
protected array $ignored | ||
return | array |
protected array $items | ||
return | array |
protected string $nameProperty | ||
return | string |