PartialTree
final class PartialTree
Methods
static PartialTree|null
compile(array $paths)
Compile partial paths into one immutable tree.
bool
contains(string $property)
Determine if this tree contains a property endpoint or descendant.
bool
selects(string $property)
Determine if this tree selects a property at the current level.
PartialTree|null
child(string $property)
Get the nested selection for a property.
Details
at line 28
static PartialTree|null
compile(array $paths)
Compile partial paths into one immutable tree.
at line 48
bool
contains(string $property)
Determine if this tree contains a property endpoint or descendant.
at line 56
bool
selects(string $property)
Determine if this tree selects a property at the current level.
at line 64
PartialTree|null
child(string $property)
Get the nested selection for a property.
at line 82
PartialTree
merge(PartialTree|null $other)
Merge another compiled selection into this tree.