PHP Class Pinq\Expressions\BinaryOperationExpression

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

Public Methods

Method 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

Protected Methods

Method Description
compileCode ( &$code )

Method Details

__clone() public method

public __clone ( )

__construct() public method

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

compileCode() protected method

protected compileCode ( &$code )

getLeftOperand() public method

public getLeftOperand ( ) : Expression
return Expression

getOperator() public method

public getOperator ( ) : string
return string The binary operator

getRightOperand() public method

public getRightOperand ( ) : Expression
return Expression

serialize() public method

public serialize ( )

traverse() public method

public traverse ( ExpressionWalker $walker )
$walker ExpressionWalker

unserialize() public method

public unserialize ( $serialized )

update() public method

public update ( Expression $leftOperand, integer $operator, Expression $rightOperand ) : self
$leftOperand Expression
$operator integer
$rightOperand Expression
return self