original_string: private function tokenFromResponse(array $data): Token
      {
          $token = Token::fromResponseData($data);
          // Save the token to the cache and return it.
          $this->tokenCachePool->setToken($this, $token);
  
          return $token;
      }
code: private function tokenFromResponse(array $data): Token
      {
          $token = Token::fromResponseData($data);
          // Save the token to the cache and return it.
          $this->tokenCachePool->setToken($this, $token);
  
          return $token;
      }
code_tokens: private function tokenFromResponse ( array $ data ) : Token { $ token = Token :: fromResponseData ( $ data ) ; // Save the token to the cache and return it. $ this -> tokenCachePool -> setToken ( $ this , $ token ) ; return $ token ; }
docstring: Instantiate and cache a token.
  
  @param array $data The mpx signIn() response data.
  
  @return Token The new token.
docstring_tokens: Instantiate and cache a token .