[ Index ] |
PHP Cross Reference of phpBB-3.1.12-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 503 lines (17 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
TraceableEventDispatcher:: (21 methods):
__construct()
setProfiler()
addListener()
addSubscriber()
removeListener()
removeSubscriber()
getListeners()
hasListeners()
dispatch()
getCalledListeners()
getNotCalledListeners()
__call()
logSkippedListeners()
preListenerCall()
getListenerInfo()
updateProfiles()
saveInfoInProfile()
preDispatch()
postDispatch()
wrapListener()
unwrapListener()
Class: TraceableEventDispatcher - X-Ref
Collects some data about event listeners.__construct(EventDispatcherInterface $dispatcher, Stopwatch $stopwatch, LoggerInterface $logger = null) X-Ref |
Constructor. param: EventDispatcherInterface $dispatcher An EventDispatcherInterface instance param: Stopwatch $stopwatch A Stopwatch instance param: LoggerInterface $logger A LoggerInterface instance |
setProfiler(Profiler $profiler = null) X-Ref |
Sets the profiler. param: Profiler|null $profiler A Profiler instance |
addListener($eventName, $listener, $priority = 0) X-Ref |
{@inheritdoc} |
addSubscriber(EventSubscriberInterface $subscriber) X-Ref |
{@inheritdoc} |
removeListener($eventName, $listener) X-Ref |
{@inheritdoc} |
removeSubscriber(EventSubscriberInterface $subscriber) X-Ref |
{@inheritdoc} |
getListeners($eventName = null) X-Ref |
{@inheritdoc} |
hasListeners($eventName = null) X-Ref |
{@inheritdoc} |
dispatch($eventName, Event $event = null) X-Ref |
{@inheritdoc} |
getCalledListeners() X-Ref |
{@inheritdoc} |
getNotCalledListeners() X-Ref |
{@inheritdoc} |
__call($method, $arguments) X-Ref |
Proxies all method calls to the original event dispatcher. param: string $method The method name param: array $arguments The method arguments return: mixed |
logSkippedListeners($eventName, $eventId, Event $event, $listener) X-Ref |
This is a private method and must not be used. This method is public because it is used in a closure. Whenever Symfony will require PHP 5.4, this could be changed to a proper private method. |
preListenerCall($eventName, $eventId, $listener) X-Ref |
This is a private method. This method is public because it is used in a closure. Whenever Symfony will require PHP 5.4, this could be changed to a proper private method. |
getListenerInfo($listener, $eventId, $eventName) X-Ref |
Returns information about the listener. param: object $listener The listener param: int|null $eventId The event id param: string $eventName The event name return: array Information about the listener |
updateProfiles($token, $updateChildren) X-Ref |
Updates the stopwatch data in the profile hierarchy. param: string $token Profile token param: bool $updateChildren Whether to update the children altogether |
saveInfoInProfile(Profile $profile, $updateChildren) X-Ref |
Update the profiles with the timing and events information and saves them. param: Profile $profile The root profile param: bool $updateChildren Whether to update the children altogether |
preDispatch($eventName, $eventId, Event $event) X-Ref |
No description |
postDispatch($eventName, $eventId, Event $event) X-Ref |
No description |
wrapListener($eventName, $eventId, $listener) X-Ref |
No description |
unwrapListener($listener, $eventId) X-Ref |
No description |
Generated: Thu Jan 11 00:25:41 2018 | Cross-referenced by PHPXref 0.7.1 |