
GFAP - 2018-07-20 18:04:10
For some reason, even after setting rules for the policy, the policy function doesn't seem to return anything. I have called the __set() function after instaniating the class
$item = new PasswordPolicy;
$item->__set("min_length", 15);
var_dump($item->policy);
but it returns false. However, the validation function still works and returns the error message which means it partially works but the policy function doesn't?