function Punctuation_Constraint::_charIsValid in Password Policy 5
Overrides Character_Constraint::_charIsValid
File
- constraints/
constraint_punctuation.php, line 7
Class
Code
function _charIsValid($character) {
return parent::_charIsValid($character) && ctype_punct($character);
}