\MethodInvocationMessage
Class to encapsulate a static, member or DataObject member method invocation.
Can be serialized and executed later.
- Author: Mark Stephens <mark@silverstripe.com>
Synopsis
class MethodInvocationMessage
implements
MessageExecutable
{
- // members
- public $invokeType;
- public $objectOrClass;
- public $id;
- public $method;
- public $args = NULL;
- private static array $ignored_error_types = ;
- // methods
- public void __construct()
- public whatever execute()
Hierarchy
Implements
Members
private
-
$ignored_error_types
user_errors of these types will be ignored during execution. If an error is not of one of these types, it will be thrown as an exception.
public
- $args
- $id
- $invokeType
- $method
- $objectOrClass
Methods
public
- __construct() — Constructor for method call.
- execute() — Execute this method invocation object. If there are problems, throws an exception, including if user_error is called during the call (suppressed user_error, but detects if a user_error was ignored).