Please sign in to comment.
Integrate the new ActionDispatcher into Dispatcher
Reduce code duplication by integrating the new dispatcher with the old one. This removes some protected methods, but that is within our backwards compability guidelines. I've also added a new Dispatcher.invokeController method to allow IntegrationTests and other use cases to more easily access the controller being used in a request. This will be useful long term when we mainline the PSR7 dispatching.
- Loading branch information...
Showing with 42 additions and 306 deletions.
- +14 −2 src/Http/ActionDispatcher.php
- +6 −60 src/Routing/Dispatcher.php
- +3 −1 src/Routing/Filter/RoutingFilter.php
- +5 −8 src/TestSuite/IntegrationTestCase.php
- +5 −235 tests/TestCase/Routing/DispatcherTest.php
- +7 −0 tests/TestCase/Routing/RequestActionTraitTest.php
- +2 −0 tests/TestCase/TestSuite/IntegrationTestCaseTest.php
Oops, something went wrong.