You are here

function Uppercase_Constraint::_charIsValid in Password Policy 5

Overrides Letter_Constraint::_charIsValid

File

constraints/constraint_uppercase.php, line 7

Class

Uppercase_Constraint

Code

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