KnpLabs / ConsoleServiceProvider

A Console service provider for Silex
MIT License
107 stars 37 forks source link

Lack call to terminate() method #11

Open quazardous opened 10 years ago

quazardous commented 10 years ago

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 commented 8 years ago

or like that

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