This repository has been archived by the owner on Jan 21, 2020. It is now read-only.
zend-expressive-aurarouter 1.1.0
Added
-
#7 adds support for specifying wildcard segments via the
wildcard
option passed to a route:$app->get('/foo', $middleware, 'foo') ->setOptions(['wildcard' => 'captured']); // captures to "captured" param
Changed
- #11 updates the component to use the Aura.Router version 3 series instead of the version 2 series. The exposed API remains the same.
- #15 updates the router to populate the returned
RouteResult
with the associatedZend\Expressive\Router\Route
instance on a successful route match. - #15 updates the router to always honor
HEAD
andOPTIONS
requests when a path matches. Dispatchers will need to check theRoute
composed in theRouteResult
to determine if matches against these methods were explicit or implicit (usingRoute::implicitHead()
andRoute::implicitOptions()
).
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.