PHP Class Pinq\Expressions\BinaryOperationExpression

Author: Elliot Levin ([email protected])
Inheritance: extends Expression
Afficher le fichier Open project: timetoogo/pinq Class Usage Examples

Méthodes publiques

Méthode Description
__clone ( )
__construct ( Expression $leftOperand, $operator, Expression $rightOperand )
getLeftOperand ( ) : Expression
getOperator ( ) : string
getRightOperand ( ) : Expression
serialize ( )
traverse ( ExpressionWalker $walker )
unserialize ( $serialized )
update ( Expression $leftOperand, integer $operator, Expression $rightOperand ) : self

Méthodes protégées

Méthode Description
compileCode ( &$code )

Method Details

__clone() public méthode

public __clone ( )

__construct() public méthode

public __construct ( Expression $leftOperand, $operator, Expression $rightOperand )
$leftOperand Expression
$rightOperand Expression

compileCode() protected méthode

protected compileCode ( &$code )

getLeftOperand() public méthode

public getLeftOperand ( ) : Expression
Résultat Expression

getOperator() public méthode

public getOperator ( ) : string
Résultat string The binary operator

getRightOperand() public méthode

public getRightOperand ( ) : Expression
Résultat Expression

serialize() public méthode

public serialize ( )

traverse() public méthode

public traverse ( ExpressionWalker $walker )
$walker ExpressionWalker

unserialize() public méthode

public unserialize ( $serialized )

update() public méthode

public update ( Expression $leftOperand, integer $operator, Expression $rightOperand ) : self
$leftOperand Expression
$operator integer
$rightOperand Expression
Résultat self