This repository has been archived by the owner on Jan 29, 2020. It is now read-only.
Consume zend-router and remove internal Router subcomponent #99
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Now that zend-router has been split out, we can remove it from the zend-mvc distribution, and add zend-router as a dependency.
Changes required:
Zend\Mvc\Router
subcomponent and related tests.Zend\Mvc\Service
factories that are now in zend-router.Router
entries in theServiceListener
to refer to the factories from zend-router.Router
factory that simply returns theHttpRouter
service.TODO
ConsoleRouter
, as this will be optional functionality provided by zend-mvc-console, and will not need to be mapped in theServiceListener
.[ ] zend-view needs to be updated to consume zend-router; as such we'll need to update this PR again in the future to reference the new zend-view version once it's tagged.This can and should be merged before zend-view is updated; we'll just need to update once zend-view is updated.Module
for providing service mappings, to see if it can be consumed seamlessly that way.