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

@return string the display name
Returns the currently signed - in user s display name by reading from the session