Commit Graph

17 Commits

Author SHA1 Message Date
PJ Dietz e6d1398bb1 Normalize imports for global namespace 2020-08-10 07:31:06 -04:00
PJ Dietz ecc077a1be Add type hints to Dispatch classes 2020-08-09 11:45:41 -04:00
PJ Dietz 08ddb0aa2f Fix issues detected by Psalm 2020-08-08 12:05:33 -04:00
PJ Dietz b82ebf6d95 Update comments and documentation for Dispatcher and related classes 2018-06-22 12:17:30 -04:00
PJ Dietz 4c40db8ecc Update draft PSR-15 interfaces 2018-03-12 15:05:19 -04:00
PJ Dietz 1dd9bf0f9c Dispatcher can dispatch PSR-15 HandlerInterface and MiddlewareInterface (Drafts) 2018-03-12 15:05:18 -04:00
PJ Dietz 6f33eab90b Update docblocks and fix typos 2015-06-02 19:45:14 -04:00
PJ Dietz 4ec0694351 Revise docblocks for interfaces. 2015-05-20 14:42:57 -04:00
PJ Dietz 0387255676 Remove unused import. 2015-05-19 19:50:03 -04:00
PJ Dietz a825654336 Refactor MiddlewareInterface::dispatch to MiddlewareInterface::__invoke 2015-05-19 18:35:29 -04:00
PJ Dietz 297e985e84 DispatchStack calls $next only when the stack runs to the end. 2015-05-12 07:54:11 -04:00
PJ Dietz f849a6ff89 Router optionally takes a DispatcherInterface on construction 2015-05-10 14:32:43 -04:00
PJ Dietz 3811b9085f Dispatcher creates DispatchStack for array 2015-05-10 13:53:15 -04:00
PJ Dietz 6507028dd3 Pass DispatchProvider to Router on construction 2015-05-10 12:04:36 -04:00
PJ Dietz 94d6cc23b2 Add DispatchProviderInterface 2015-05-10 11:31:19 -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