Example #1
0
 private static function fetchFromDB($username)
 {
     try {
         $ue = new UserEmail($username);
         return $ue->getEmail();
     } catch (fNotFoundException $e) {
         return NULL;
     }
 }
Example #2
0
 /**
  * @return UserEmail
  */
 public function getEmail()
 {
     return $this->email->getEmail();
 }