src/idOS/Section/AbstractSection.php
protected function getEndpointClassName(string $name) : string {
        $className = sprintf(
            '%s\\%s',
            str_replace('Section', 'Endpoint', get_class($this)),
            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',
            str_replace('Section', 'Endpoint', get_class($this)),
            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' , str_replace ( 'Section' , 'Endpoint' , get_class ( $ this ) ) , ucfirst ( $ name ) ) ; if ( ! class_exists ( $ className ) ) { throw new \ RuntimeException ( sprintf ( 'Invalid endpoint name "%s" (%s)' , $ name , $ className ) ) ; } return $ className ; }
Return the Endpoint Class Name.

@param string $name

@return string $className
Return the Endpoint Class Name .