Documentation

TreeWalkerChainIterator
in package
implements Iterator, ArrayAccess

Tags
deprecated

This class will be removed in 3.0 without replacement.

template-implements

Iterator<TreeWalker>

template-implements

ArrayAccess<int, TreeWalker>

Table of Contents

Interfaces

Iterator
ArrayAccess

Properties

$parserResult  : ParserResult
$query  : AbstractQuery
$treeWalkerChain  : TreeWalkerChain
$walkers  : array<string|int, TreeWalker>>

Methods

__construct()  : mixed
current()  : TreeWalker|null
key()  : int
next()  : TreeWalker|null
offsetExists()  : bool
offsetGet()  : TreeWalker|null
offsetSet()  : void
{@inheritDoc}
offsetUnset()  : void
rewind()  : string|false
valid()  : bool
{@inheritDoc}

Properties

Methods

offsetExists()

public offsetExists(mixed $offset) : bool
Parameters
$offset : mixed
Tags
psalm-param

array-key|null $offset

Return values
bool

offsetSet()

{@inheritDoc}

public offsetSet(mixed $offset, string $value) : void
Parameters
$offset : mixed
$value : string
Tags
psalm-param

array-key|null $offset

offsetUnset()

public offsetUnset(mixed $offset) : void
Parameters
$offset : mixed
Tags
psalm-param

array-key|null $offset

rewind()

public rewind() : string|false
Tags
psalm-return

class-string<TreeWalker>|false

Return values
string|false

        
On this page

Search results