trait JsonApiMetaTrait

Class JsonApiMetaTrait

Properties

protected array $meta The meta data array.

Methods

array
getMeta()

Get the meta.

$this
setMeta(array $meta)

Set the meta data array.

$this
addMeta(string $key, string $value)

Add meta data.

Details

at line 23
array getMeta()

Get the meta.

Return Value

array

at line 35
$this setMeta(array $meta)

Set the meta data array.

Parameters

array $meta

Return Value

$this

at line 49
$this addMeta(string $key, string $value)

Add meta data.

Parameters

string $key
string $value

Return Value

$this