Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Inject the route result as an attribute #187

Merged

Conversation

weierophinney
Copy link
Member

On successful routing, inject the route result as the Zend\Expressive\Router\RouteResult request attribute. This allows users to introspect it later, allowing for features such as injection into URL helpers or similar.

One part of a multi-part solution addressing #186.

@weierophinney weierophinney added this to the 1.0.0rc3 milestone Nov 13, 2015
On successful routing, inject the route result as the
`Zend\Expressive\Router\RouteResult` request attribute. This allows
users to introspect it later, allowing for features such as injection
into URL helpers or similar.
@weierophinney weierophinney force-pushed the hotfix/route-result-attribute branch from 99b2643 to 4fc9dc5 Compare November 17, 2015 21:23
@mwillbanks mwillbanks merged commit 4fc9dc5 into zendframework:master Nov 20, 2015
mwillbanks added a commit that referenced this pull request Nov 20, 2015
mwillbanks added a commit that referenced this pull request Nov 20, 2015
mwillbanks added a commit that referenced this pull request Nov 20, 2015
@zf2timo zf2timo mentioned this pull request Nov 24, 2015
@weierophinney weierophinney deleted the hotfix/route-result-attribute branch November 24, 2015 16:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants