RecursiveUnwrapperVisitor
final class RecursiveUnwrapperVisitor implements RecursiveVisitorInterface, StaticTagInterface
| internal | This interface is not covered by the backward compatibility promise |
Methods
__construct(bool $tagging = true)
No description
static string
tag()
Returns random string generated once per process run.
array
result()
No description
bool
void
void
visit(mixed $node, array $stack, bool $iterating)
No description
bool
void
Details
at line 44
__construct(bool $tagging = true)
No description
at line 56
static string
tag()
Returns random string generated once per process run.
at line 66
array
result()
No description
at line 76
bool
enter(array|ValuesInterface $node, array $stack)
No description
at line 105
void
leave(array|ValuesInterface $node, array $stack, bool $iterating)
No description
at line 125
void
visit(mixed $node, array $stack, bool $iterating)
No description
at line 139
bool
cycle(array|ValuesInterface $node, array $stack)
No description
at line 153
RecursiveVisitorStackItemInterface
makeStackItem(array|ValuesInterface $node, mixed $key, array $stack)
No description
at line 162
void
freeStackItem(RecursiveVisitorStackItemInterface $item, array $stack)
No description