src/php/main/Eix/Core/Responders/Http.php
private function isHttpMethodSupported($requestMethod)
    {
        $requestMethodName = 'http' . ucfirst(strtolower($requestMethod));
        foreach (get_class_methods($this) as $methodName) {
            if (strpos($methodName, $requestMethodName) === 0) {
                return true;
            }
        }

        return false;
    }
private function isHttpMethodSupported($requestMethod)
    {
        $requestMethodName = 'http' . ucfirst(strtolower($requestMethod));
        foreach (get_class_methods($this) as $methodName) {
            if (strpos($methodName, $requestMethodName) === 0) {
                return true;
            }
        }

        return false;
    }
private function isHttpMethodSupported ( $ requestMethod ) { $ requestMethodName = 'http' . ucfirst ( strtolower ( $ requestMethod ) ) ; foreach ( get_class_methods ( $ this ) as $ methodName ) { if ( strpos ( $ methodName , $ requestMethodName ) === 0 ) { return true ; } } return false ; }
Check whether there is at least one function that implements the
requested HTTP method.
Check whether there is at least one function that implements the requested HTTP method .