PHP Class Pinq\Expressions\UnaryOperationExpression

Author: Elliot Levin ([email protected])
Inheritance: extends Expression
显示文件 Open project: timetoogo/pinq Class Usage Examples

Public Methods

Method Description
__clone ( )
__construct ( $operator, Expression $operand )
getOperand ( ) : Expression
getOperator ( ) : string
serialize ( )
traverse ( ExpressionWalker $walker )
unserialize ( $serialized )
update ( integer $operator, Expression $operand ) : self

Protected Methods

Method Description
compileCode ( &$code )

Method Details

__clone() public method

public __clone ( )

__construct() public method

public __construct ( $operator, Expression $operand )
$operand Expression

compileCode() protected method

protected compileCode ( &$code )

getOperand() public method

public getOperand ( ) : Expression
return Expression

getOperator() public method

public getOperator ( ) : string
return string

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 ( integer $operator, Expression $operand ) : self
$operator integer
$operand Expression
return self