src/Comodojo/Dispatcher/Service/AbstractService.php
public function getMethod($method) {

        $method = strtolower($method);

        if ( method_exists($this, $method) ) {

            return $method;

        } else if ( method_exists($this, 'any') ) {

            return 'any';

        } else {

            return null;

        }

    }
public function getMethod($method) {

        $method = strtolower($method);

        if ( method_exists($this, $method) ) {

            return $method;

        } else if ( method_exists($this, 'any') ) {

            return 'any';

        } else {

            return null;

        }

    }
public function getMethod ( $ method ) { $ method = strtolower ( $ method ) ; if ( method_exists ( $ this , $ method ) ) { return $ method ; } else if ( method_exists ( $ this , 'any' ) ) { return 'any' ; } else { return null ; } }
Return the callable class method that reflect the requested one
Return the callable class method that reflect the requested one