interface DynamicMetadataInterface (View source)

Marker interface to mark classes as dynamic metadata.

Methods

static string
getName()

No description

createFromDecodedJsonResponse(array $data)

Create a DynamicMetadata from the decoded JSON data.

mixed
getForJson()

Get the data, which should be json-fied later.

Details

static string getName()

No description

Return Value

string

The name of the metadata

static DynamicMetadataInterface createFromDecodedJsonResponse(array $data)

Create a DynamicMetadata from the decoded JSON data.

Parameters

array $data

Decoded JSON data

Return Value

DynamicMetadataInterface

mixed getForJson()

Get the data, which should be json-fied later.

Return Value

mixed