Documentation

TokenRowContext implements ArrayAccess, IteratorAggregate, Countable

Class TokenRowContext

Table of Contents

Interfaces

ArrayAccess
IteratorAggregate
Countable

Properties

$tokenProcessor  : TokenProcessor
$tokenRow  : mixed

Methods

__construct()  : mixed
Class constructor.
count()  : int
Count.
getIterator()  : ArrayIterator
Get iterator.
offsetExists()  : bool
Does offset exist.
offsetGet()  : string
Get offset.
offsetSet()  : void
Set offset.
offsetUnset()  : void
Unset offset.
createMergedArray()  : array<string|int, mixed>
Create merged array.

Properties

Methods

__construct()

Class constructor.

public __construct(array<string|int, mixed> $tokenProcessor, array<string|int, mixed> $tokenRow) : mixed
Parameters
$tokenProcessor : array<string|int, mixed>
$tokenRow : array<string|int, mixed>

count()

Count.

public count() : int
Return values
int

getIterator()

Get iterator.

public getIterator() : ArrayIterator
Attributes
#[ReturnTypeWillChange]
Return values
ArrayIterator

offsetExists()

Does offset exist.

public offsetExists(mixed $offset) : bool
Parameters
$offset : mixed
Return values
bool

offsetGet()

Get offset.

public & offsetGet(string $offset) : string
Parameters
$offset : string
Attributes
#[ReturnTypeWillChange]
Return values
string

offsetSet()

Set offset.

public offsetSet(string $offset, mixed $value) : void
Parameters
$offset : string
$value : mixed

offsetUnset()

Unset offset.

public offsetUnset(mixed $offset) : void
Parameters
$offset : mixed

createMergedArray()

Create merged array.

protected createMergedArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results