. */ /** * Doctrine_Validator_Regexp * * @package Doctrine * @subpackage Validator * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @link www.phpdoctrine.org * @since 1.0 * @version $Revision: 3882 $ * @author Gijs van Dulmen */ class Doctrine_Validator_Minlength { /** * checks if given value is more length than the minimum length required * * @param mixed $value * @return boolean */ public function validate($value) { if (isset($this->args) && strlen($value) < $this->args) { return false; } return true; } }