WebApiClient::addReturnHandler
Adds a new return handler to the list of handlers.
Handlers must implement the 'handleReturn' method, the result of which is returned to the caller
Signature
public function addReturnHandler(
$name,
ReturnHandler
$object )
Parameters
$name
—
The name of the handler, which should match the
'return' param of the method definition$object
—
The object which will handle the return
Returns
- array