Example #1
0
 /**
  * This function is checking if the email address is already associated with any user.
  * @param $attribute
  * @param $value
  * @param $parameters
  * @return bool
  */
 public function validateCheckemailexist($attribute, $value, $parameters)
 {
     $SentryUser = new \SentryUser();
     if ($SentryUser->checkIfUserExist($value)) {
         return true;
     } else {
         return false;
     }
 }