phpDocumentor

LayoutDataCollection implements LayoutData

Class TemplateDataCollection

Interfaces, Classes and Traits

LayoutData
Interface LayoutData

Table of Contents

$data  : array<string|int, mixed>
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.

Properties

Methods

assign()

Assigns the key to the given value.

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

get()

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

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

toArray()

Returns an array with all assigned key value pairs.

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

Search results