phpDocumentor

LayoutData

Interface LayoutData

Table of Contents

assign()  : void
Assigns the key to the given value.
get()  : mixed
Returns the assigned value of $key or null, if nothing was found.
toArray()  : array<string|int, mixed>
Returns an array with all assigned key value pairs.

Methods

assign()

Assigns the key to the given value.

public assign(string $key,  $value) : void
Parameters
$key : string
$value :
Return values
void

get()

Returns the assigned value of $key or null, if nothing was found.

public get(string $key) : mixed
Parameters
$key : string
Return values
mixed

toArray()

Returns an array with all assigned key value pairs.

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results