Class ContainerOnLoadCallbackListener.

Handle onload_callbacks.

 Methods

Retrieve the arguments for the callback.

getArgs(\ContaoCommunityAlliance\DcGeneral\Factory\Event\CreateDcGeneralEvent $event) : array

Parameters

Returns

array

Check the restrictions against the information within the event and determine if the callback shall be executed.

wantToExecute(\ContaoCommunityAlliance\DcGeneral\Factory\Event\CreateDcGeneralEvent $event) : bool

Parameters

$event

\ContaoCommunityAlliance\DcGeneral\Factory\Event\CreateDcGeneralEvent

The Event for which the callback shall be invoked.

Returns

bool