From 2781e206842f68d97fba5e523d7f33fbe3a99cf0 Mon Sep 17 00:00:00 2001 From: Dmitry Kuznetsov Date: Thu, 21 Sep 2017 15:54:20 +0300 Subject: [PATCH] Method getEmail() --- src/User.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/User.php b/src/User.php index 82f27b9..a086e3d 100644 --- a/src/User.php +++ b/src/User.php @@ -174,4 +174,13 @@ public function getSex() { return $this->getField('sex'); } + /** + * @return string + */ + public function getEmail() + { + return $this->getField('email'); + } + + }