public function compareViews(View $oldView, View $newView)
    {
        return ($oldView->getName() !== $newView->getName()) || ($oldView->getSQL() !== $newView->getSQL());
    }
public function compareViews(View $oldView, View $newView)
    {
        return ($oldView->getName() !== $newView->getName()) || ($oldView->getSQL() !== $newView->getSQL());
    }
public function compareViews ( View $ oldView , View $ newView ) { return ( $ oldView -> getName ( ) !== $ newView -> getName ( ) ) || ( $ oldView -> getSQL ( ) !== $ newView -> getSQL ( ) ) ; }
Compares two views.

@param \Fridge\DBAL\Schema\View $oldView The old view.
@param \Fridge\DBAL\Schema\View $newView The new view.

@return boolean TRUE if views are different else FALSE.
Compares two views .