Elgg  Version master
CronHandler.php
Go to the documentation of this file.
1 <?php
2 
4 
11 class CronHandler {
12 
20  public function __invoke(\Elgg\Event $event): void {
21  $time = (int) $event->getParam('time');
22  $interval = $event->getType();
23 
24  _elgg_services()->delayedEmailService->processQueuedNotifications($interval, $time);
25  }
26 }
getType()
Return a type of extension.
c Accompany it with the information you received as to the offer to distribute corresponding source complete source code means all the source code for all modules it plus any associated interface definition plus the scripts used to control compilation and installation of the executable as a special the source code distributed need not include anything that is normally and so on of the operating system on which the executable unless that component itself accompanies the executable If distribution of executable or object code is made by offering access to copy from a designated then offering equivalent access to copy the source code from the same place counts as distribution of the source even though third parties are not compelled to copy the source along with the object code You may not or distribute the Program except as expressly provided under this License Any attempt otherwise to sublicense or distribute the Program is void
Definition: LICENSE.txt:215
if(!$annotation instanceof ElggAnnotation) $time
Definition: time.php:20
Cron based handing of the delayed email notification queue.
Definition: CronHandler.php:11
__invoke(\Elgg\Event $event)
Cron handler to dequeue en handle delayed emails.
Definition: CronHandler.php:20
_elgg_services()
Get the global service provider.
Definition: elgglib.php:351
Models an event passed to event handlers.
Definition: Event.php:11