original_string: public function getResponseType(string $responseType): GrantInterface
      {
          if ($this->hasResponseType($responseType)) {
              return $this->responseTypes[$responseType];
          }
  
          // If we reach here... then no grant was found. Not good!
          throw OAuth2Exception::unsupportedResponseType(sprintf(
              'Response type "%s" is not supported by this server',
              $responseType
          ));
      }
code: public function getResponseType(string $responseType): GrantInterface
      {
          if ($this->hasResponseType($responseType)) {
              return $this->responseTypes[$responseType];
          }
  
          // If we reach here... then no grant was found. Not good!
          throw OAuth2Exception::unsupportedResponseType(sprintf(
              'Response type "%s" is not supported by this server',
              $responseType
          ));
      }
code_tokens: public function getResponseType ( string $ responseType ) : GrantInterface { if ( $ this -> hasResponseType ( $ responseType ) ) { return $ this -> responseTypes [ $ responseType ] ; } // If we reach here... then no grant was found. Not good! throw OAuth2Exception :: unsupportedResponseType ( sprintf ( 'Response type "%s" is not supported by this server' , $ responseType ) ) ; }
docstring: Get the response type by its name
  
  @throws OAuth2Exception (unsupported_grant_type) When response type is not registered
docstring_tokens: Get the response type by its name