class TokenRowContext implements ArrayAccess, IteratorAggregate, Countable

Class TokenRowContext

Properties

protected TokenProcessor $tokenProcessor
protected $tokenRow

Methods

__construct(array $tokenProcessor, array $tokenRow)

Class constructor.

bool
offsetExists(mixed $offset)

Does offset exist.

string
offsetGet(string $offset)

Get offset.

offsetSet(string $offset, mixed $value)

Set offset.

offsetUnset(mixed $offset)

Unset offset.

getIterator()

Get iterator.

int
count()

Count.

array
createMergedArray()

Create merged array.

Details

at line 296
__construct(array $tokenProcessor, array $tokenRow)

Class constructor.

Parameters

array $tokenProcessor
array $tokenRow

at line 308
bool offsetExists(mixed $offset)

Does offset exist.

Parameters

mixed $offset

Return Value

bool

at line 320
string offsetGet(string $offset)

Get offset.

Parameters

string $offset

Return Value

string

at line 337
offsetSet(string $offset, mixed $value)

Set offset.

Parameters

string $offset
mixed $value

at line 346
offsetUnset(mixed $offset)

Unset offset.

Parameters

mixed $offset

at line 355
ArrayIterator getIterator()

Get iterator.

Return Value

ArrayIterator

at line 364
int count()

Count.

Return Value

int

at line 373
protected array createMergedArray()

Create merged array.

Return Value

array