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;
    }
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;
    }
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 ; }
Returns the name of the endpoint class.

@param string $name

@return string className
Returns the name of the endpoint class .