ConsoleServiceProvider icon indicating copy to clipboard operation
ConsoleServiceProvider copied to clipboard

Lack call to terminate() method

Open quazardous opened this issue 9 years ago • 1 comments

The console application lacks the call to the terminate() method.

Something like :+1:

terminate(Request::createFromGlobals(), Response::create());

the terminate methode trogger the event dispather wich is used by many component like swift mailer (ie to spool mail queue).

quazardous avatar Sep 27 '14 14:09 quazardous

or like that

$app['dispatcher']->dispatch(KernelEvents::TERMINATE);

quazardous avatar Dec 07 '15 23:12 quazardous