Elgg  Version 4.3
EnqueueEventHandler.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Elgg\Notifications;
4 
11 
24  public function __invoke(\Elgg\Event $event) {
25  _elgg_services()->notifications->enqueueEvent($event->getName(), $event->getType(), $event->getObject());
26  }
27 }
__invoke(\Elgg\Event $event)
Queue a notification event for later handling.
Models an event passed to event handlers.
Definition: Event.php:11
_elgg_services()
Get the global service provider.
Definition: elgglib.php:638