class MultiAreas implements DynamicMetadataInterface (View source)

Methods

__construct(array $areas)

No description

static string
getName()

No description

array
getAreas()

Get all Areas.

getAreasByName(string $name)

Gets an array of Areas with a specific name.

getFirstAreaByName(string $name)

Gets the first Area with a specific name (all others have no meaning currently).

createFromDecodedJsonResponse(array $data)

Create a DynamicMetadata from the decoded JSON data.

mixed
getForJson()

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

Details

__construct(array $areas)

No description

Parameters

array $areas

static string getName()

No description

Return Value

string

The name of the metadata

array getAreas()

Get all Areas.

Return Value

array

DynamicMetadataInterface[]|null getAreasByName(string $name)

Gets an array of Areas with a specific name.

Parameters

string $name

The area name to look up

Return Value

DynamicMetadataInterface[]|null

DynamicMetadataInterface|null getFirstAreaByName(string $name)

Gets the first Area with a specific name (all others have no meaning currently).

Parameters

string $name

The area name to look up

Return Value

DynamicMetadataInterface|null

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