Skip to content
Snippets Groups Projects
Commit 93dd893f authored by Benjamin Mack's avatar Benjamin Mack
Browse files

[BUGFIX] Add Request Handling for Console

The bootstrap functionality for resolving the RequestHandler
based on the request object added by the PSR-7 change.

The Bootstrap::run() method is now renamed to ->configure()
which does not call resolveRequest() anymore. Instead
resolveRequest() is called explicitly at a later point inside
every Application instance.

This way, the Application instance decides what kind of
Request object should be instantiated and hands it to
the Bootstrap, which in return resolves the RequestHandler.

The original RequestHandlerInterface is now moved to the
Http/ namespace, and a RequestHandlerInterface for the
Console application has been introduced for handling
Console requests, based on Symfony Console.

Resolves: #68085
Releases: master
Change-Id: Ibbc48362739f9849f6e6d9fcadfd2e2a5247f89b
Reviewed-on: http://review.typo3.org/41140


Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarHelmut Hummel <helmut.hummel@typo3.org>
Tested-by: default avatarHelmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: default avatarBenjamin Mack <benni@typo3.org>
Tested-by: default avatarBenjamin Mack <benni@typo3.org>
parent 1e2d303c
Branches
Showing
with 93 additions and 35 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment