Merge pull request #16 from kudmni/patch-1

Method getEmail()
This commit is contained in:
Jack W
2017-09-28 17:12:37 +01:00
committed by GitHub

View File

@@ -174,4 +174,13 @@ class User implements ResourceOwnerInterface
{ {
return $this->getField('sex'); return $this->getField('sex');
} }
/**
* @return string
*/
public function getEmail()
{
return $this->getField('email');
}
} }