src/Auth.php
public function getEmail() {
		if (isset($_SESSION) && isset($_SESSION[self::SESSION_FIELD_EMAIL])) {
			return $_SESSION[self::SESSION_FIELD_EMAIL];
		}
		else {
			return null;
		}
	}
public function getEmail() {
		if (isset($_SESSION) && isset($_SESSION[self::SESSION_FIELD_EMAIL])) {
			return $_SESSION[self::SESSION_FIELD_EMAIL];
		}
		else {
			return null;
		}
	}
public function getEmail ( ) { if ( isset ( $ _SESSION ) && isset ( $ _SESSION [ self :: SESSION_FIELD_EMAIL ] ) ) { return $ _SESSION [ self :: SESSION_FIELD_EMAIL ] ; } else { return null ; } }
Returns the currently signed-in user's email address by reading from the session

@return string the email address
Returns the currently signed - in user s email address by reading from the session