For an app I’m writing I need to do some stuff at the end of a successful (ie: no errors were thrown/caught) request … does slim have something predefined for this so that you can do something like this:
$container['requestCompleteHandler'] = .....
or should I just add this after
$app->run()
However, if I add it after $app->run(), will it also get executed after the ‘errorHandler’ is called? So what is the proper way of handling this?