Skip to content
Snippets Groups Projects
Commit d141e12f authored by Christian Kuhn's avatar Christian Kuhn Committed by Benni Mack
Browse files

[FEATURE] AbstractApplication implements PSR-15 RequestHandlerInterface

Frontend, backend and install tool application classes are the
main entry points to create a response from a request object.

From within a HTTP index.php, run() is called, which creates the
request object from globals and feeds that to handle().

But, to retrieve a TYPO3 response from within a different PHP
application, or from within TYPO3 itself (eg. a backend calls a
frontend), the leading application would want to hand over a
given or specially crafted PSR-7 ServerRequest directly.

This is exactly what PSR-15 RequestHandlerInterface is for.

By implementing this inteface in the application classes, the
core increases interoperability significantly and allows to
be easily called by a third party PHP application.

Resolves: #92884
Releases: master
Change-Id: I3047c92de06668db4dd5ef224bafde23f4b8ebd5
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/66710


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent 8b9c3b06
Branches
Tags
No related merge requests found
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