MAKS\AmqpAgent\Helper\ClassProxyTrait::callMethod
Calls a private, protected, or public method on an object.
Signature
public function callMethod(
$object,
string
$method,
$arguments )
Parameters
$object
—
object
- Class instance.
$method
—
string
- Method name.
$arguments
—
Returns
- mixed
- The function result, or false on error.
Errors/Exceptions
-
AmqpAgentException
- On failure or if the called function threw an exception.