Storm\Core\Object\Expressions\BinaryOperationExpression::__construct PHP Method

__construct() public method

public __construct ( Expression $LeftOperandExpression, $Operator, Expression $RightOperandExpression )
$LeftOperandExpression Expression
$RightOperandExpression Expression
    public function __construct(Expression $LeftOperandExpression, $Operator, Expression $RightOperandExpression)
    {
        $this->LeftOperandExpression = $LeftOperandExpression;
        $this->Operator = $Operator;
        $this->RightOperandExpression = $RightOperandExpression;
    }

Usage Example

 public function __construct(PropertyExpression $AssignToPropertyExpression, $AssignmentOperator, Expression $AssignmentValueExpression)
 {
     parent::__construct($AssignToPropertyExpression, $AssignmentOperator, $AssignmentValueExpression);
     $this->AssignToPropertyExpression = $AssignToPropertyExpression;
 }