Methods |
public
static
|
and(self|string $part, self|string ...$parts): self
|
#
|
public
static
|
or(self|string $part, self|string ...$parts): self
|
#
|
public
|
addMultiple(self[]|string[] $parts = []): CompositeExpression
Adds multiple parts to composite expression.
Adds multiple parts to composite expression.
Deprecated
This class will be made immutable. Use with() instead.
|
#
|
public
|
add(mixed $part): CompositeExpression
Adds an expression to composite expression.
Adds an expression to composite expression.
Deprecated
This class will be made immutable. Use with() instead.
|
#
|
public
|
with(self|string $part, self|string ...$parts): self
Returns a new CompositeExpression with the given parts added.
Returns a new CompositeExpression with the given parts added.
|
#
|
public
|
count(): int
Retrieves the amount of expressions on composite expression.
Retrieves the amount of expressions on composite expression.
Implements
|
#
|
public
|
__toString(): string
Retrieves the string representation of this composite expression.
Retrieves the string representation of this composite expression.
|
#
|
public
|
getType(): string
Returns the type of this composite expression (AND/OR).
Returns the type of this composite expression (AND/OR).
|
#
|