so I wonder why we aren't using __invoke in that interface too
That's a very good idea, it might be a good middle ground:
interface Next
{
public function __invoke(ServerRequestInterface $request) :
ResponseInterface;
}
--
You received this message because you are subscribed to the Google Groups "PHP
Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/php-fig/etPan.57b0ab4a.72d7b9d0.16394%40mnapoli.fr.
For more options, visit https://groups.google.com/d/optout.