[!!!][TASK] Remove deprecated code from TableController
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / 9.5 / Deprecation-86179-ProtectedRenderMethodInBackendController.rst
1 .. include:: ../../Includes.txt
2
3 ====================================================================
4 Deprecation: #86179 - Protected render() method in BackendController
5 ====================================================================
6
7 See :issue:`86179`
8
9 Description
10 ===========
11
12 Method :php:`TYPO3\CMS\Backend\Controller\BackendController->render()` has been set from
13 public to protected and should not be called any longer.
14
15
16 Impact
17 ======
18
19 Calling the method from an external object triggers a PHP :php:`E_USER_DEPRECATED` error.
20
21
22 Affected Installations
23 ======================
24
25 This internal method is usually not called by extensions directly. Since the method name
26 is so generic, the extension scanner is not configured to search for usages, it would
27 trigger far too many false positives.
28
29
30 Migration
31 =========
32
33 Use route target :php:`main` instead that calls method :php:`mainAction` and returns a
34 proper PSR-7 Response object.
35
36 .. index:: Backend, PHP-API, NotScanned