EventCallback
class \
Object to hold information on a callback to a defined object and method.
Internal
Table of Contents
Properties
- $method : string
- $object : object
- $targetArguments : array
Methods
- __construct() : mixed
- execute() : mixed
- Executes the callback.
Properties
$method
protected
string
$method
$object
protected
object
$object
$targetArguments
protected
array
$targetArguments
Methods
__construct()
public
__construct(object $object, string $method[, array $targetArguments = [] ]) : mixed
Parameters
- $object : object
- $method : string
- $targetArguments : array = []
execute()
Executes the callback.
public
execute(array $callerArguments, object $caller, string $eventName) : mixed
Parameters
- $callerArguments : array
- $caller : object
- $eventName : string