public function compareChecks(Check $oldCheck, Check $newCheck)
    {
        return ($oldCheck->getName() !== $newCheck->getName())
            || ($oldCheck->getDefinition() !== $newCheck->getDefinition());
    }
public function compareChecks(Check $oldCheck, Check $newCheck)
    {
        return ($oldCheck->getName() !== $newCheck->getName())
            || ($oldCheck->getDefinition() !== $newCheck->getDefinition());
    }
public function compareChecks ( Check $ oldCheck , Check $ newCheck ) { return ( $ oldCheck -> getName ( ) !== $ newCheck -> getName ( ) ) || ( $ oldCheck -> getDefinition ( ) !== $ newCheck -> getDefinition ( ) ) ; }
Compares two checks.

@param \Fridge\DBAL\Schema\Check $oldCheck The old check.
@param \Fridge\DBAL\Schema\Check $newCheck The new check.

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