Example #1
0
 public function verify()
 {
     $verifier = new Verification();
     $rules = $this->rules();
     //foreach($rules as $rule) {
     //}
     if ($verifier->ruleEmail($this->attributes['email']) && $verifier->rulePassword($this->attributes['password'])) {
         return true;
     } else {
         return false;
     }
 }