Heya,
On 21 January 2016 at 11:28, James Abbott <[email protected]> wrote: > I was just wondering why the existing Zend\Stratigility\FinalHandler has so > many of its methods declared private though? It seems to me that extending > its behaviour is a valid use case and works well as a means to customise > error handling. But looking at the method signatures you wouldn't think it > was encouraged. > Inheritance is not the right way to add "your own flavor" to an existing behavior. The final handler is just a `function ($request, $response, $error = null);` callable: implementing your own is the way to go ;-) Cheers, Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/
