public function validate($value) { if (!is_string($value) || strlen($value) > 255) { return false; } return parent::validate($value); }