public function getUsername()
    {
        $info = $this->getUserInfo();
        $username = strstr($info, ':', true);

        return rawurldecode($username === false ? $info : $username);
    }
public function getUsername()
    {
        $info = $this->getUserInfo();
        $username = strstr($info, ':', true);

        return rawurldecode($username === false ? $info : $username);
    }
public function getUsername ( ) { $ info = $ this -> getUserInfo ( ) ; $ username = strstr ( $ info , ':' , true ) ; return rawurldecode ( $ username === false ? $ info : $ username ) ; }
Returns the decoded username from the URI.
@return string The decoded username
Returns the decoded username from the URI .