EventCallback

Object to hold information on a callback to a defined object and method.

Internal

Table of Contents

Properties

$method  : string
$object  : object
$targetArguments  : array<string|int, mixed>

Methods

__construct()  : mixed
execute()  : mixed
Executes the callback.

Properties

$targetArguments

protected array<string|int, mixed> $targetArguments

Methods

__construct()

public __construct(object $object, string $method[, array<string|int, mixed> $targetArguments = [] ]) : mixed
Parameters
$object : object
$method : string
$targetArguments : array<string|int, mixed> = []

execute()

Executes the callback.

public execute(array<string|int, mixed> $callerArguments, object $caller, string $eventName) : mixed
Parameters
$callerArguments : array<string|int, mixed>
$caller : object
$eventName : string

        
On this page

Search results