Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Arcanedev
SeoHelper
Contracts
Entities
MetaCollection
PHP Interface Arcanedev\SeoHelper\Contracts\Entities\MetaCollection
Author:
ARCANEDEV (
[email protected]
)
Inheritance:
extends
Arcanedev\SeoHelper\Contracts\Renderable
显示文件
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