Project

General

Profile

Actions

Task #86558

closed

Support PSR-15 RequestHandlerInterface's in backend routes

Added by Benjamin Franzke over 5 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2018-10-03
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The backend dispatcher uses the a single-pass signature since TYPO3 v9:
fn(ServerRequestInterface $req): ResponseInterface

That's the same signature that PSR-15 specifies for the RequestHandlerInterface.
We already have Invokables as single-class request handlers, and we should
support the standard as well.

Actions

Also available in: Atom PDF