interface Term
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.

One alternative an expression may evaluate to.

The hierarchy is sealed. A term is a resolved scalar (LiteralTerm), a string with gaps (PatternTerm), an array (ArrayTerm), an object (ObjectTerm), or a value known only by its type (OpaqueTerm).

Methods§

public function toPattern(): TextPattern

The term written as the string PHP would splice into a query.

public function type(): TypeShape

The static type of the values this term stands for.

Returns

public function signature(): string

A canonical string used to deduplicate alternatives.

Returns

string

Test cases 4§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1
Other tests reaching this symbol 3

Relations§

Implemented by 5
Type declarations 6