public function expressions()
    {

        $expressions = [];

        if ($this->operand instanceof ExpressionContract) {
            $expressions[] = $this->operand;
        }

        if ($this->constraint instanceof ExpressionContract) {
            $expressions[] = $this->constraint;
        }

        return $expressions;

    }
public function expressions()
    {

        $expressions = [];

        if ($this->operand instanceof ExpressionContract) {
            $expressions[] = $this->operand;
        }

        if ($this->constraint instanceof ExpressionContract) {
            $expressions[] = $this->constraint;
        }

        return $expressions;

    }
public function expressions ( ) { $ expressions = [ ] ; if ( $ this -> operand instanceof ExpressionContract ) { $ expressions [ ] = $ this -> operand ; } if ( $ this -> constraint instanceof ExpressionContract ) { $ expressions [ ] = $ this -> constraint ; } return $ expressions ; }
Return all expressions

@return array
Return all expressions