zendframework / zend-stratigility

Middleware for PHP built on top of PSR-7 and PSR-15
BSD 3-Clause "New" or "Revised" License
235 stars 57 forks source link

Route value object without magic #135

Closed snapshotpl closed 6 years ago

weierophinney commented 6 years ago

If we go the way of #134, we may not even need a Route instance at all!

Essentially, we'd only be composing middleware instances in the MiddlewarePipe, as path-based middleware would be handled by a special decorator.

Let's see how #134 shakes out, and then decide whether or not to proceed on this one.

weierophinney commented 6 years ago

Closing, as #134 removes the class entirely, and will be merged soon.