Commit Graph

14 Commits

Author SHA1 Message Date
PJ Dietz 9b29f2a09e Add Route::register method to delegate to MethodMap 2018-06-22 14:44:43 -04:00
PJ Dietz 6a1f0c2915 Spellcheck 2015-06-04 19:18:11 -04:00
PJ Dietz ac2ed4a24a Router stops propagating on 404, 405, and OPTIONS 2015-05-19 19:12:12 -04:00
PJ Dietz a825654336 Refactor MiddlewareInterface::dispatch to MiddlewareInterface::__invoke 2015-05-19 18:35:29 -04:00
PJ Dietz 87caa09b61 Pass DispatcherInterface into MethodMap on construction 2015-05-10 11:41:02 -04:00
PJ Dietz 8071b0b5db Move MiddlewareInterface to the root namespace. 2015-05-10 11:21:55 -04:00
PJ Dietz bbb138996a Add Dispatching namesapce 2015-05-10 11:02:59 -04:00
PJ Dietz b0db3cbcdd MethodMap::dispatch calls $next even on failure 2015-05-10 09:05:05 -04:00
PJ Dietz 72767b74e8 Rename MethodMap::setMethod to ::register 2015-05-10 09:05:05 -04:00
PJ Dietz d8352e71d9 Update MethodMap to match new MiddlewareInterface 2015-05-10 09:05:05 -04:00
PJ Dietz ccbe8bb2e0 Rework MethodMap 2015-05-07 18:02:13 -04:00
PJ Dietz 5cc259944e Extract DispatcherInterface 2015-04-06 20:59:34 -04:00
PJ Dietz 45b13691a2 Add MethodMapInterface 2015-04-06 20:24:59 -04:00
PJ Dietz 0d204d9279 Add MethodMap
MethodMap::add adds each comma-separated method for one middleware

Fix name for MethodMapTest
2015-04-06 19:12:57 -04:00