src/ReflectionController.php
public function hasEndpoint($method, $endpointName)
    {
        $methodName = $this->parseEndpointName($method, $endpointName);
        return $this->reflection->hasMethod($methodName);
    }
public function hasEndpoint($method, $endpointName)
    {
        $methodName = $this->parseEndpointName($method, $endpointName);
        return $this->reflection->hasMethod($methodName);
    }
public function hasEndpoint ( $ method , $ endpointName ) { $ methodName = $ this -> parseEndpointName ( $ method , $ endpointName ) ; return $ this -> reflection -> hasMethod ( $ methodName ) ; }
Check for a particular endpoint.

Takes the request method (http verb) and endpoint name and checks for a
matching class method.

@param $method
@param $endpointName
@return bool
Check for a particular endpoint .