‪TYPO3CMS  ‪main
TYPO3\CMS\Workspaces\Dependency\EventCallback Class Reference

Public Member Functions

 __construct (object $object, string $method, array $targetArguments=[])
 
 execute (array $callerArguments, object $caller, string $eventName)
 

Protected Attributes

object $object
 
string $method
 
array $targetArguments
 

Detailed Description

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

Definition at line 25 of file EventCallback.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Workspaces\Dependency\EventCallback::__construct ( object  $object,
string  $method,
array  $targetArguments = [] 
)

Member Function Documentation

◆ execute()

TYPO3\CMS\Workspaces\Dependency\EventCallback::execute ( array  $callerArguments,
object  $caller,
string  $eventName 
)

Member Data Documentation

◆ $method

string TYPO3\CMS\Workspaces\Dependency\EventCallback::$method
protected

◆ $object

object TYPO3\CMS\Workspaces\Dependency\EventCallback::$object
protected

◆ $targetArguments

array TYPO3\CMS\Workspaces\Dependency\EventCallback::$targetArguments
protected