1
0
mirror of synced 2025-02-21 06:33:14 +03:00
doctrine2/classes/Validator/Notnull.class.php
2006-05-26 11:32:35 +00:00

17 lines
353 B
PHP

<?php
class Doctrine_Validator_Notnull {
/**
* @param Doctrine_Record $record
* @param string $key
* @param mixed $value
* @return boolean
*/
public function validate(Doctrine_Record $record, $key, $value) {
if ($value === null)
return false;
return true;
}
}
?>