src/MinecraftJP.php
public function getUser() {
        $this->user = $this->sessionStorage->read('user');
        if (!empty($this->user)) {
            return $this->user;
        }

        $this->exchangeToken();

        return $this->user;
    }
public function getUser() {
        $this->user = $this->sessionStorage->read('user');
        if (!empty($this->user)) {
            return $this->user;
        }

        $this->exchangeToken();

        return $this->user;
    }
public function getUser ( ) { $ this -> user = $ this -> sessionStorage -> read ( 'user' ) ; if ( ! empty ( $ this -> user ) ) { return $ this -> user ; } $ this -> exchangeToken ( ) ; return $ this -> user ; }
Get User object

@return mixed
Get User object