EventCallback

class \TYPO3\CMS\Workspaces\Dependency\EventCallback

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

Table of Contents

Properties

$method  : string
$object  : object
$targetArguments  : array

Methods

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

Properties

$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
On this page