original_string: protected function getEndpointClassName(string $name) : string {
          $className = sprintf(
              '%s\\%s\\%s',
              'idOS',
              'Endpoint',
              ucfirst($name)
          );
  
          if (! class_exists($className)) {
              throw new \RuntimeException(
                  sprintf(
                      'Invalid endpoint name "%s" (%s)',
                      $name,
                      $className
                  )
              );
          }
  
          return $className;
      }
code: protected function getEndpointClassName(string $name) : string {
          $className = sprintf(
              '%s\\%s\\%s',
              'idOS',
              'Endpoint',
              ucfirst($name)
          );
  
          if (! class_exists($className)) {
              throw new \RuntimeException(
                  sprintf(
                      'Invalid endpoint name "%s" (%s)',
                      $name,
                      $className
                  )
              );
          }
  
          return $className;
      }
code_tokens: protected function getEndpointClassName ( string $ name ) : string { $ className = sprintf ( '%s\\%s\\%s' , 'idOS' , 'Endpoint' , ucfirst ( $ name ) ) ; if ( ! class_exists ( $ className ) ) { throw new \ RuntimeException ( sprintf ( 'Invalid endpoint name "%s" (%s)' , $ name , $ className ) ) ; } return $ className ; }
docstring: Returns the name of the endpoint class.
  
  @param string $name
  
  @return string className
docstring_tokens: Returns the name of the endpoint class .