File tree Expand file tree Collapse file tree 3 files changed +3
-43
lines changed
ApiOverview/RequestLifeCycle
ExtensionArchitecture/Extbase/Reference/_UriBuilder Expand file tree Collapse file tree 3 files changed +3
-43
lines changed Original file line number Diff line number Diff line change @@ -70,9 +70,8 @@ The request object compatible with the PSR-7
7070ViewHelper
7171----------
7272
73- .. deprecated :: 13.3
74- The following methods have been marked as deprecated in TYPO3 v13.3 and will
75- be removed with TYPO3 v14:
73+ .. versionchanged :: 14.0
74+ The following methods have been removed with TYPO3 v14:
7675
7776 * :php: `TYPO3\C MS\F luid\C ore\R endering\R enderingContext->setRequest() `
7877 * :php: `TYPO3\C MS\F luid\C ore\R endering\R enderingContext->getRequest() `
@@ -84,12 +83,6 @@ it is set.
8483.. literalinclude :: _CodeSnippets/_ViewHelper.php
8584 :caption: EXT:my_extension/Classes/ViewHelpers/MyViewHelper.php
8685
87- To stay compatible to previous TYPO3 versions while avoiding deprecation notices,
88- the following code can be used:
89-
90- .. literalinclude :: _CodeSnippets/_ViewHelperV12.php
91- :caption: EXT:my_extension/Classes/ViewHelpers/MyViewHelper.php
92-
9386.. _typo3-request-user-function :
9487
9588User function
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -14,10 +14,7 @@ public function __construct(private UriBuilder $uriBuilder) {}
1414
1515 public function render (): string
1616 {
17- if (method_exists ($ this ->renderingContext , 'getRequest ' )) {
18- // TYPO3 v12 compatibility
19- $ request = $ this ->renderingContext ->getRequest ();
20- } elseif ($ this ->renderingContext ->hasAttribute (ServerRequestInterface::class)) {
17+ if ($ this ->renderingContext ->hasAttribute (ServerRequestInterface::class)) {
2118 // TYPO3 v13+ compatibility
2219 $ request = $ this ->renderingContext ->getAttribute (ServerRequestInterface::class);
2320 } else {
You can’t perform that action at this time.
0 commit comments