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

Ensure router factory is used by SM factory #4622

Conversation

weierophinney
Copy link
Member

As reported on the mailing list, prototypes are not being injected into the router due to the fact that Zend\Mvc\Service\RouterFactory is not using the factory() method to create a router instance. This PR accomplishes that.

- Use the `factory()` method when creating a router instance.
- Pass the `RoutePluginManager` instance to the `route_plugins` configuration
  option prior to invoking the factory.
- Extract the `route_plugins` to pass to the constructor when in the factory.

Fixes an issue whereby route prototypes were not being created.
@ghost ghost assigned DASPRiD Jun 10, 2013
@prolic
Copy link
Contributor

prolic commented Jun 11, 2013

good to merge

@DASPRiD DASPRiD closed this in 916dd0d Jun 11, 2013
DASPRiD added a commit that referenced this pull request Jun 11, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants