Closed RalfEggert closed 8 years ago
No. In fact, I was against adding that interface from the beginning, and only did it under pressure from a number of vocal contributors. Requiring usage of the interface makes it far more difficult to share middleware between different middleware runners, and it's why Stratigility itself does not require usage of the MiddlewareInterface, but instead looks only for a callable.
Thanks for clarification. That makes sense! :-)
I wonder, if it would make sense, if the
HomePageAction
andPingAction
implement theZend\Stratigility\MiddlewareInterface
.