Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Tobscure
JsonApi
MetaTrait
PHP Trait Tobscure\JsonApi\MetaTrait
Show file
Open project: tobscure/json-api
Protected Properties
Property
Type
Description
$meta
array
The meta data array.
Public Methods
Method
Description
addMeta
(
string
$key
,
string
$value
)
Add meta data.
getMeta
( ) :
array
Get the meta.
setMeta
(
array
$meta
)
Set the meta data array.
Method Details
addMeta()
public
method
Add meta data.
public
addMeta
(
string
$key
,
string
$value
)
$key
string
$value
string
getMeta()
public
method
Get the meta.
public
getMeta
( ) :
array
return
array
setMeta()
public
method
Set the meta data array.
public
setMeta
(
array
$meta
)
$meta
array
Property Details
$meta
protected property
The meta data array.
protected
array
$meta
return
array