public function toBinaryOperationEquivalent()
    {
        $binaryOperator = Assignment::toBinaryOperator($this->operator);

        if($binaryOperator === null) {
            return $this;
        }

        return $this->update(
                $this->assignTo,
                Assignment::EQUAL,
                Expression::binaryOperation(
                        $this->assignTo,
                        $binaryOperator,
                        $this->assignmentValue
                )
        );
    }
public function toBinaryOperationEquivalent()
    {
        $binaryOperator = Assignment::toBinaryOperator($this->operator);

        if($binaryOperator === null) {
            return $this;
        }

        return $this->update(
                $this->assignTo,
                Assignment::EQUAL,
                Expression::binaryOperation(
                        $this->assignTo,
                        $binaryOperator,
                        $this->assignmentValue
                )
        );
    }
public function toBinaryOperationEquivalent ( ) { $ binaryOperator = Assignment :: toBinaryOperator ( $ this -> operator ) ; if ( $ binaryOperator === null ) { return $ this ; } return $ this -> update ( $ this -> assignTo , Assignment :: EQUAL , Expression :: binaryOperation ( $ this -> assignTo , $ binaryOperator , $ this -> assignmentValue ) ) ; }
Converts the assignment expression with compound assignment operators
to the equivalent assignment and binary operator combination

<code>
$variable += 5
</code>
becomes
<code>
$variable = $variable + 5
</code>

@return AssignmentExpression
Converts the assignment expression with compound assignment operators to the equivalent assignment and binary operator combination