class cron_runner_listener implements EventSubscriberInterface

Event listener that executes cron tasks, after the response was served

Methods

__construct(db $lock, manager $manager, request_interface $request)

Constructor

on_kernel_terminate(TerminateEvent $event)

Runs the cron job after the response was sent

static 
getSubscribedEvents()

{@inheritdoc}

Details

at line 50
__construct(db $lock, manager $manager, request_interface $request)

Constructor

Parameters

db $lock
manager $manager
request_interface $request

at line 62
on_kernel_terminate(TerminateEvent $event)

Runs the cron job after the response was sent

Parameters

TerminateEvent $event

The event

at line 97
static getSubscribedEvents()

{@inheritdoc}