You are here

function Letter_Digit_Constraint::_charIsValid in Password Policy 5

Overrides Character_Constraint::_charIsValid

File

constraints/constraint_letter_digit.php, line 7

Class

Letter_Digit_Constraint

Code

function _charIsValid($character) {
  return parent::_charIsValid($character) && ctype_alnum($character);
}