addFunction()
addFunction(string $function, string $namespace = '') : void
Attach a function as a server method
Namespacing is primarily for xmlrpc, but may be used with other implementations to prevent naming collisions.
Parameters
string | $function | |
string | $namespace |