public function equal($item)
    {
        if ($item instanceof static) {
            $v = $this->tableName == $item->tableName;
            return
                $this->tableName == $item->tableName &&
                $this->parentAlias == $item->parentAlias &&
                get_class($this->joinField) === get_class($item->joinField);
        }

        return false;
    }
public function equal($item)
    {
        if ($item instanceof static) {
            $v = $this->tableName == $item->tableName;
            return
                $this->tableName == $item->tableName &&
                $this->parentAlias == $item->parentAlias &&
                get_class($this->joinField) === get_class($item->joinField);
        }

        return false;
    }
public function equal ( $ item ) { if ( $ item instanceof static ) { $ v = $ this -> tableName == $ item -> tableName ; return $ this -> tableName == $ item -> tableName && $ this -> parentAlias == $ item -> parentAlias && get_class ( $ this -> joinField ) === get_class ( $ item -> joinField ) ; } return false ; }
Check if pass in item is equal to this one.

@param $item

@return bool
Check if pass in item is equal to this one .