Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add names to plugins & remove middleware interfaces.
Plugins do not have to implement the Application interfaces as they are hook based plugins and not the same as applications. While they could be the same, it doesn't make sense for plugins to add themselves as a middleware layer when they have a middleware hook. The Application adds itself as a middleware to ensure there is an 'end' to the middleware queue and ensure that a response is always generated.
- Loading branch information
Showing
2 changed files
with
30 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters