Method |
Description |
|
__construct ( string $type, array $parts = [] ) |
Constructor. |
|
__toString ( ) : string |
Retrieves the string representation of this composite expression. |
|
add ( mixed $part ) : CompositeExpression |
Adds an expression to composite expression. |
|
addMultiple ( array $parts = [] ) : CompositeExpression |
Adds multiple parts to composite expression. |
|
count ( ) : integer |
Retrieves the amount of expressions on composite expression. |
|
getType ( ) : string |
Returns the type of this composite expression (AND/OR). |
|