PHP Class Phalcon\Validation\Validator\PasswordStrength
new \Phalcon\Validation\Validator\PasswordStrength([
'minScore' => {[1-4] - minimal password score},
'message' => {string - validation message},
'allowEmpty' => {bool - allow empty value}
])
Mostra file
Open project: phalcon/incubator
Class Usage Examples
Public Methods
Method |
Description |
|
validate ( Phalcon\Validation $validation, string $attribute ) : boolean |
Value validation |
|
Private Methods
Method Details
public validate ( Phalcon\Validation $validation, string $attribute ) : boolean |
$validation |
Phalcon\Validation |
- validation object |
$attribute |
string |
- validated attribute |
return |
boolean |
|