FinisherVariableProvider implements ArrayAccess, IteratorAggregate, Countable

FinalYes

Store data for usage between the finishers.

Scope: frontend This class is NOT meant to be sub classed by developers.

Internal

Table of Contents

Interfaces

ArrayAccess
IteratorAggregate
Countable

Properties

$objects  : array<string|int, mixed>
Two-dimensional object array storing the values. The first dimension is the finisher identifier, and the second dimension is the identifier for the data the finisher wants to store.

Methods

__sleep()  : array<string|int, mixed>
Clean up for serializing.
add()  : mixed
Add a variable to the finisher container.
addOrUpdate()  : mixed
Add a variable to the Variable Container.
count()  : int
Count elements of an object
exists()  : bool
Determine whether there is a variable stored for the given key
get()  : mixed
Gets a variable which is stored
getIterator()  : Traversable
offsetExists()  : bool
Whether an offset exists
offsetGet()  : mixed
Offset to retrieve
offsetSet()  : void
Offset to set
offsetUnset()  : void
Offset to unset
remove()  : mixed
Remove a value from the variable container

Properties

$objects

Two-dimensional object array storing the values. The first dimension is the finisher identifier, and the second dimension is the identifier for the data the finisher wants to store.

protected array<string|int, mixed> $objects = []

Methods

__sleep()

Clean up for serializing.

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

add()

Add a variable to the finisher container.

public add(string $finisherIdentifier, string $key, mixed $value) : mixed
Parameters
$finisherIdentifier : string
$key : string
$value : mixed

addOrUpdate()

Add a variable to the Variable Container.

public addOrUpdate(string $finisherIdentifier, string $key, mixed $value) : mixed

In case the value is already inside, it is silently overridden.

Parameters
$finisherIdentifier : string
$key : string
$value : mixed

exists()

Determine whether there is a variable stored for the given key

public exists(string $finisherIdentifier, string $key) : bool
Parameters
$finisherIdentifier : string
$key : string
Return values
bool

get()

Gets a variable which is stored

public get(string $finisherIdentifier, string $key[, mixed $default = null ]) : mixed
Parameters
$finisherIdentifier : string
$key : string
$default : mixed = null

getIterator()

public getIterator() : Traversable
Return values
Traversable

remove()

Remove a value from the variable container

public remove(string $finisherIdentifier, string $key) : mixed
Parameters
$finisherIdentifier : string
$key : string

        
On this page

Search results