final class RecursiveMapperVisitor implements RecursiveMapperVisitorInterface

internal  This interface is not covered by the backward compatibility promise
 

Methods

__construct()

No description

void
begin(Closure|null $arrayMapper = null, Closure|null $valueMapper = null)

No description

void
end()

No description

null|ArrayLike
result()

No description

bool
enter(iterable $node, array $stack)

No description

void
leave(iterable $node, array $stack, bool $iterating)

No description

void
visit(mixed $node, array $stack, bool $iterating)

No description

bool
cycle(iterable $node, array $stack)

No description

makeStackItem(iterable $node, mixed $key, array $stack)

No description

void
freeStackItem(RecursiveVisitorStackItemInterface $item, array $stack)

No description

Details

at line 58
__construct()

No description

at line 70
void begin(Closure|null $arrayMapper = null, Closure|null $valueMapper = null)

No description

Parameters

Closure|null $arrayMapper
Closure|null $valueMapper

Return Value

void

at line 79
void end()

No description

Return Value

void

at line 89
null|ArrayLike result()

No description

Return Value

null|ArrayLike

at line 98
bool enter(iterable $node, array $stack)

No description

Parameters

iterable $node
array $stack

Return Value

bool

at line 130
void leave(iterable $node, array $stack, bool $iterating)

No description

Parameters

iterable $node
array $stack
bool $iterating

Return Value

void

at line 144
void visit(mixed $node, array $stack, bool $iterating)

No description

Parameters

mixed $node
array $stack
bool $iterating

Return Value

void

at line 165
bool cycle(iterable $node, array $stack)

No description

Parameters

iterable $node
array $stack

Return Value

bool

Exceptions

CircularDependencyException

at line 179
RecursiveVisitorStackItemInterface makeStackItem(iterable $node, mixed $key, array $stack)

No description

Parameters

iterable $node
mixed $key
array $stack

Return Value

RecursiveVisitorStackItemInterface

at line 188
void freeStackItem(RecursiveVisitorStackItemInterface $item, array $stack)

No description

Parameters

RecursiveVisitorStackItemInterface $item
array $stack

Return Value

void