TreeNode

final class \TYPO3\CMS\Lowlevel\Inspector\TreeNode

One line of the tree. Keys with exactly one child are joined into a chain, so a node holds the keys of its whole chain.

Table of Contents

Properties

$expanded  : bool
$keys  : array
$level  : int
$value  : mixed

Methods

children()  : array<int, TreeNode>
create()  : self
isBranch()  : bool

Properties

Methods

create()

public static create(string|int $key, mixed $value, int $level) : self

Parameters

$key : string|int
$value : mixed
$level : int

Return values

self

isBranch()

public isBranch() : bool

Return values

bool
On this page