Lines Matching defs:method
77 return new Error(-32601, 'server error. requested method ' . $methodname . ' does not exist.');
79 $method = $this->callbacks[$methodname];
88 // Are we dealing with a function or a method?
89 if (is_string($method) && substr($method, 0, 5) === 'this:') {
90 // It's a class method - check it exists
91 $method = substr($method, 5);
93 return $this->$method($args);
96 return call_user_func($method, $args);
98 return new Error(-32601, "server error. requested callable '{$method}' does not exist.");
124 protected function hasMethod($method)
126 return in_array($method, array_keys($this->callbacks));
172 $method = $call['methodName'];
174 if ($method == 'system.multicall') {
177 $result = $this->call($method, $params);