src/ReflectionController.php
protected function parseEndpointName($method, $endpoint)
    {
        $endpoint = str_replace(' ', '', ucwords(str_replace(['-', '+', '%20'], ' ', $endpoint)));
        $method = strtolower($method);
        return $method . $endpoint . 'Endpoint';
    }
protected function parseEndpointName($method, $endpoint)
    {
        $endpoint = str_replace(' ', '', ucwords(str_replace(['-', '+', '%20'], ' ', $endpoint)));
        $method = strtolower($method);
        return $method . $endpoint . 'Endpoint';
    }
protected function parseEndpointName ( $ method , $ endpoint ) { $ endpoint = str_replace ( ' ' , '' , ucwords ( str_replace ( [ '-' , '+' , '%20' ] , ' ' , $ endpoint ) ) ) ; $ method = strtolower ( $ method ) ; return $ method . $ endpoint . 'Endpoint' ; }
Construct the method name for an endpoint.

Endpoint methods are constructed like this [method][name]Endpoint. The
method name is lower cased, the endpoint name is upper camel cased, and
the class method name ends with the word "Endpoint".

@example GET hello-world => getHelloWorldEndpoint

@param string $method
@param string $endpoint
@return string
Construct the method name for an endpoint .