validatePassword()
validatePassword(string $attribute, array $params)
Validates the password.
This method serves as the inline validation for password.
Parameters
| string |
$attribute |
the attribute currently being validated |
| array |
$params |
the additional name-value pairs given in the rule |