‪TYPO3CMS  11.5
Request.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /*
6  * This file is part of the TYPO3 CMS project.
7  *
8  * It is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU General Public License, either version 2
10  * of the License, or any later version.
11  *
12  * For the full copyright and license information, please read the
13  * LICENSE.txt file that was distributed with this source code.
14  *
15  * The TYPO3 project - inspiring people to share!
16  */
17 
18 namespace ‪TYPO3\CMS\Extbase\Mvc;
19 
20 use Psr\Http\Message\ServerRequestInterface;
21 use Psr\Http\Message\StreamInterface;
22 use Psr\Http\Message\UriInterface;
27 
38 class ‪Request implements ServerRequestInterface, ‪RequestInterface
39 {
40  protected ServerRequestInterface ‪$request;
41 
45  public function ‪__construct(‪$request = null)
46  {
47  if (is_string(‪$request) && !empty(‪$request)) {
48  // Deprecation layer for old extbase Request __construct(string $controllerClassName = '')
49  $controllerClassName = ‪$request;
51  ‪$request = ‪$GLOBALS['TYPO3_REQUEST'] ?? new ‪ServerRequest();
52  $attribute = new ‪ExtbaseRequestParameters($controllerClassName);
53  ‪$request = ‪$request->withAttribute('extbase', $attribute);
54  } elseif (‪$request === null) {
55  // Deprecation layer when ServerRequestInterface is not given yet
57  // Fallback "new ServerRequest()" currently used in install tool.
58  ‪$request = ‪$GLOBALS['TYPO3_REQUEST'] ?? new ‪ServerRequest();
59  $attribute = new ‪ExtbaseRequestParameters('');
60  ‪$request = ‪$request->withAttribute('extbase', $attribute);
61  }
62  if (!‪$request instanceof ServerRequestInterface) {
63  throw new \InvalidArgumentException(
64  'Request must implement PSR-7 ServerRequestInterface',
65  1624452071
66  );
67  }
68  if (!‪$request->getAttribute('extbase') instanceof ‪ExtbaseRequestParameters) {
69  throw new \InvalidArgumentException(
70  'Given request must have an attribute "extbase" of type ExtbaseAttribute',
71  1624452070
72  );
73  }
74  $this->request = ‪$request;
75  }
76 
82  {
83  return $this->request->getAttribute('extbase');
84  }
85 
93  public function ‪getControllerObjectName(): string
94  {
95  return $this->‪getExtbaseAttribute()->getControllerObjectName();
96  }
97 
101  public function ‪withControllerObjectName(string $controllerObjectName): self
102  {
103  $attribute = clone $this->‪getExtbaseAttribute();
104  $attribute->setControllerObjectName($controllerObjectName);
105  return $this->‪withAttribute('extbase', $attribute);
106  }
107 
113  public function ‪getPluginName()
114  {
115  return $this->‪getExtbaseAttribute()->getPluginName();
116  }
117 
121  public function ‪withPluginName($pluginName = null): self
122  {
123  $attribute = clone $this->‪getExtbaseAttribute();
124  $attribute->setPluginName($pluginName);
125  return $this->‪withAttribute('extbase', $attribute);
126  }
127 
134  {
135  return $this->‪getExtbaseAttribute()->getControllerExtensionName();
136  }
137 
144  public function ‪withControllerExtensionName($controllerExtensionName): self
145  {
146  $attribute = clone $this->‪getExtbaseAttribute();
147  $attribute->setControllerExtensionName($controllerExtensionName);
148  return $this->‪withAttribute('extbase', $attribute);
149  }
150 
156  public function ‪getControllerExtensionKey(): string
157  {
158  return $this->‪getExtbaseAttribute()->getControllerExtensionKey();
159  }
160 
167  public function ‪getControllerName()
168  {
169  return (string)$this->‪getExtbaseAttribute()->getControllerName();
170  }
171 
179  public function ‪withControllerName($controllerName): self
180  {
181  $attribute = clone $this->‪getExtbaseAttribute();
182  $attribute->setControllerName($controllerName);
183  return $this->‪withAttribute('extbase', $attribute);
184  }
185 
191  public function ‪getControllerActionName()
192  {
193  return $this->‪getExtbaseAttribute()->getControllerActionName();
194  }
195 
204  public function ‪withControllerActionName($actionName): self
205  {
206  $attribute = clone $this->‪getExtbaseAttribute();
207  $attribute->setControllerActionName($actionName);
208  return $this->‪withAttribute('extbase', $attribute);
209  }
210 
214  public function ‪getArguments(): array
215  {
216  return $this->‪getExtbaseAttribute()->getArguments();
217  }
218 
223  public function ‪withArguments(array $arguments): self
224  {
225  $attribute = clone $this->‪getExtbaseAttribute();
226  $attribute->setArguments($arguments);
227  return $this->‪withAttribute('extbase', $attribute);
228  }
229 
233  public function ‪getArgument($argumentName)
234  {
235  return $this->‪getExtbaseAttribute()->getArgument($argumentName);
236  }
237 
241  public function ‪hasArgument($argumentName): bool
242  {
243  return $this->‪getExtbaseAttribute()->hasArgument($argumentName);
244  }
245 
253  public function ‪withArgument(string $argumentName, $value): self
254  {
255  $attribute = clone $this->‪getExtbaseAttribute();
256  $attribute->setArgument($argumentName, $value);
257  return $this->‪withAttribute('extbase', $attribute);
258  }
259 
264  public function ‪getFormat(): string
265  {
266  return $this->‪getExtbaseAttribute()->getFormat();
267  }
268 
275  public function ‪withFormat(string $format): self
276  {
277  $attribute = clone $this->‪getExtbaseAttribute();
278  $attribute->setFormat($format);
279  return $this->‪withAttribute('extbase', $attribute);
280  }
281 
289  public function ‪setControllerObjectName($controllerObjectName)
290  {
291  $this->‪getExtbaseAttribute()->setControllerObjectName($controllerObjectName);
292  }
293 
297  public function ‪setPluginName($pluginName = null)
298  {
299  $this->‪getExtbaseAttribute()->setPluginName($pluginName);
300  }
301 
305  public function ‪setControllerExtensionName($controllerExtensionName)
306  {
307  $this->‪getExtbaseAttribute()->setControllerExtensionName($controllerExtensionName);
308  }
309 
313  public function ‪setControllerAliasToClassNameMapping(array $controllerAliasToClassNameMapping)
314  {
315  // this is only needed as long as forwarded requests are altered and unless there
316  // is no new request object created by the request builder.
317  $this->‪getExtbaseAttribute()->setControllerAliasToClassNameMapping($controllerAliasToClassNameMapping);
318  }
319 
323  public function ‪withControllerAliasToClassNameMapping(array $controllerAliasToClassNameMapping): self
324  {
325  $attribute = clone $this->‪getExtbaseAttribute();
326  // this is only needed as long as forwarded requests are altered and unless there
327  // is no new request object created by the request builder.
328  $attribute->setControllerAliasToClassNameMapping($controllerAliasToClassNameMapping);
329  return $this->‪withAttribute('extbase', $attribute);
330  }
331 
335  public function ‪setControllerName($controllerName)
336  {
337  $this->‪getExtbaseAttribute()->setControllerName($controllerName);
338  }
339 
343  public function ‪setControllerActionName($actionName)
344  {
345  $this->‪getExtbaseAttribute()->setControllerActionName($actionName);
346  }
347 
351  public function ‪setArgument($argumentName, $value)
352  {
353  $this->‪getExtbaseAttribute()->setArgument($argumentName, $value);
354  }
355 
359  public function ‪setArguments(array $arguments)
360  {
361  $this->‪getExtbaseAttribute()->setArguments($arguments);
362  }
363 
367  public function ‪setFormat($format)
368  {
369  $this->‪getExtbaseAttribute()->setFormat($format);
370  }
371 
375  public function ‪getOriginalRequest(): ?‪Request
376  {
377  return $this->‪getExtbaseAttribute()->getOriginalRequest();
378  }
379 
383  public function ‪setOriginalRequest(‪Request $originalRequest)
384  {
385  $this->‪getExtbaseAttribute()->setOriginalRequest($originalRequest);
386  }
387 
394  {
395  return $this->‪getExtbaseAttribute()->getOriginalRequestMappingResults();
396  }
397 
401  public function ‪setOriginalRequestMappingResults(‪Result $originalRequestMappingResults)
402  {
403  $this->‪getExtbaseAttribute()->setOriginalRequestMappingResults($originalRequestMappingResults);
404  }
405 
409  public function ‪getInternalArguments(): array
410  {
411  return $this->‪getExtbaseAttribute()->getInternalArguments();
412  }
413 
417  public function ‪getInternalArgument($argumentName)
418  {
419  return $this->‪getExtbaseAttribute()->getInternalArgument($argumentName);
420  }
421 
429  public function ‪setDispatched($flag)
430  {
431  $this->‪getExtbaseAttribute()->setDispatched($flag);
432  }
433 
437  public function ‪isDispatched()
438  {
439  return $this->‪getExtbaseAttribute()->isDispatched();
440  }
441 
445  public function ‪getRequestUri()
446  {
447  trigger_error('Method ' . __METHOD__ . ' is deprecated and will be removed in TYPO3 12.0', E_USER_DEPRECATED);
449  $normalizedParams = $this->‪getAttribute('normalizedParams');
450  return $normalizedParams->getRequestUrl();
451  }
452 
456  public function ‪getBaseUri()
457  {
458  trigger_error('Method ' . __METHOD__ . ' is deprecated and will be removed in TYPO3 12.0', E_USER_DEPRECATED);
460  $normalizedParams = $this->‪getAttribute('normalizedParams');
461  $baseUri = $normalizedParams->getSiteUrl();
462  if (‪ApplicationType::fromRequest($this)->isBackend()) {
463  $baseUri .= TYPO3_mainDir;
464  }
465  return $baseUri;
466  }
467 
475  public function ‪getServerParams(): array
476  {
477  return $this->request->getServerParams();
478  }
479 
483  public function ‪getCookieParams(): array
484  {
485  return $this->request->getCookieParams();
486  }
487 
491  public function ‪withCookieParams(array $cookies): self
492  {
493  ‪$request = $this->request->withCookieParams($cookies);
494  return new static(‪$request);
495  }
496 
500  public function ‪getQueryParams(): array
501  {
502  return $this->request->getQueryParams();
503  }
504 
508  public function ‪withQueryParams(array $query): self
509  {
510  ‪$request = $this->request->withQueryParams($query);
511  return new static(‪$request);
512  }
513 
517  public function ‪getUploadedFiles(): array
518  {
519  return $this->request->getUploadedFiles();
520  }
521 
525  public function ‪withUploadedFiles(array $uploadedFiles): self
526  {
527  ‪$request = $this->request->withUploadedFiles($uploadedFiles);
528  return new static(‪$request);
529  }
530 
534  public function ‪getParsedBody()
535  {
536  return $this->request->getParsedBody();
537  }
538 
542  public function ‪withParsedBody($data): self
543  {
544  ‪$request = $this->request->withParsedBody($data);
545  return new static(‪$request);
546  }
547 
551  public function ‪getAttributes(): array
552  {
553  return $this->request->getAttributes();
554  }
555 
559  public function ‪getAttribute($name, $default = null)
560  {
561  return $this->request->getAttribute($name, $default);
562  }
563 
567  public function ‪withAttribute($name, $value): self
568  {
569  ‪$request = $this->request->withAttribute($name, $value);
570  return new static(‪$request);
571  }
572 
576  public function ‪withoutAttribute($name): ServerRequestInterface
577  {
578  ‪$request = $this->request->withoutAttribute($name);
579  if ($name === 'extbase') {
580  return ‪$request;
581  }
582  return new static(‪$request);
583  }
584 
592  public function ‪getRequestTarget(): string
593  {
594  return $this->request->getRequestTarget();
595  }
596 
600  public function ‪withRequestTarget($requestTarget): self
601  {
602  ‪$request = $this->request->withRequestTarget($requestTarget);
603  return new static(‪$request);
604  }
605 
609  public function ‪getMethod(): string
610  {
611  return $this->request->getMethod();
612  }
613 
617  public function ‪withMethod($method): self
618  {
619  ‪$request = $this->request->withMethod($method);
620  return new static(‪$request);
621  }
622 
626  public function ‪getUri(): UriInterface
627  {
628  return $this->request->getUri();
629  }
630 
634  public function ‪withUri(UriInterface $uri, $preserveHost = false): self
635  {
636  ‪$request = $this->request->withUri($uri, $preserveHost);
637  return new static(‪$request);
638  }
639 
647  public function ‪getProtocolVersion(): string
648  {
649  return $this->request->getProtocolVersion();
650  }
651 
655  public function ‪withProtocolVersion($version): self
656  {
657  ‪$request = $this->request->withProtocolVersion($version);
658  return new static(‪$request);
659  }
660 
664  public function ‪getHeaders(): array
665  {
666  return $this->request->getHeaders();
667  }
668 
672  public function ‪hasHeader($name): bool
673  {
674  return $this->request->hasHeader($name);
675  }
676 
680  public function ‪getHeader($name): array
681  {
682  return $this->request->getHeader($name);
683  }
684 
688  public function ‪getHeaderLine($name): string
689  {
690  return $this->request->getHeaderLine($name);
691  }
692 
696  public function ‪withHeader($name, $value): self
697  {
698  ‪$request = $this->request->withHeader($name, $value);
699  return new static(‪$request);
700  }
701 
705  public function ‪withAddedHeader($name, $value): self
706  {
707  ‪$request = $this->request->withAddedHeader($name, $value);
708  return new static(‪$request);
709  }
710 
714  public function ‪withoutHeader($name): self
715  {
716  ‪$request = $this->request->withoutHeader($name);
717  return new static(‪$request);
718  }
719 
723  public function ‪getBody(): StreamInterface
724  {
725  return $this->request->getBody();
726  }
727 
731  public function ‪withBody(StreamInterface $body): self
732  {
733  ‪$request = $this->request->withBody($body);
734  return new static(‪$request);
735  }
736 }
‪TYPO3\CMS\Extbase\Mvc\Request\getQueryParams
‪getQueryParams()
Definition: Request.php:500
‪TYPO3\CMS\Core\Http\ApplicationType\fromRequest
‪static static fromRequest(ServerRequestInterface $request)
Definition: ApplicationType.php:62
‪TYPO3\CMS\Extbase\Mvc\Request\withMethod
‪withMethod($method)
Definition: Request.php:617
‪TYPO3\CMS\Extbase\Mvc\Request\getControllerExtensionName
‪getControllerExtensionName()
Definition: Request.php:133
‪TYPO3\CMS\Extbase\Mvc\Request\withControllerAliasToClassNameMapping
‪withControllerAliasToClassNameMapping(array $controllerAliasToClassNameMapping)
Definition: Request.php:323
‪TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute
‪getExtbaseAttribute()
Definition: Request.php:81
‪TYPO3\CMS\Extbase\Mvc\Request\withFormat
‪withFormat(string $format)
Definition: Request.php:275
‪TYPO3\CMS\Extbase\Mvc\Request\getOriginalRequest
‪getOriginalRequest()
Definition: Request.php:375
‪TYPO3\CMS\Extbase\Mvc\Request\getInternalArguments
‪getInternalArguments()
Definition: Request.php:409
‪TYPO3\CMS\Extbase\Mvc\Request\withProtocolVersion
‪withProtocolVersion($version)
Definition: Request.php:655
‪TYPO3\CMS\Extbase\Mvc\Request\getControllerObjectName
‪getControllerObjectName()
Definition: Request.php:93
‪TYPO3\CMS\Extbase\Mvc\Request\getPluginName
‪getPluginName()
Definition: Request.php:113
‪TYPO3\CMS\Extbase\Mvc\Request\getRequestUri
‪getRequestUri()
Definition: Request.php:445
‪TYPO3\CMS\Extbase\Mvc\Request\withArguments
‪withArguments(array $arguments)
Definition: Request.php:223
‪TYPO3\CMS\Extbase\Mvc\Request\withArgument
‪self withArgument(string $argumentName, $value)
Definition: Request.php:253
‪TYPO3\CMS\Extbase\Mvc\Request\setControllerAliasToClassNameMapping
‪setControllerAliasToClassNameMapping(array $controllerAliasToClassNameMapping)
Definition: Request.php:313
‪TYPO3\CMS\Extbase\Mvc\Request\getRequestTarget
‪getRequestTarget()
Definition: Request.php:592
‪TYPO3\CMS\Extbase\Mvc\Request\getControllerExtensionKey
‪string getControllerExtensionKey()
Definition: Request.php:156
‪TYPO3\CMS\Extbase\Mvc
‪TYPO3\CMS\Extbase\Mvc\Request\setArgument
‪setArgument($argumentName, $value)
Definition: Request.php:351
‪TYPO3\CMS\Extbase\Mvc\Request\setControllerObjectName
‪setControllerObjectName($controllerObjectName)
Definition: Request.php:289
‪TYPO3\CMS\Extbase\Mvc\Request\getUri
‪getUri()
Definition: Request.php:626
‪TYPO3\CMS\Core\Http\ApplicationType
Definition: ApplicationType.php:52
‪TYPO3\CMS\Extbase\Mvc\Request\getHeader
‪getHeader($name)
Definition: Request.php:680
‪TYPO3\CMS\Extbase\Error\Result
Definition: Result.php:24
‪TYPO3\CMS\Extbase\Mvc\Request\withControllerActionName
‪self withControllerActionName($actionName)
Definition: Request.php:204
‪TYPO3\CMS\Extbase\Mvc\Request\setControllerActionName
‪setControllerActionName($actionName)
Definition: Request.php:343
‪TYPO3\CMS\Extbase\Mvc\Request\hasHeader
‪hasHeader($name)
Definition: Request.php:672
‪TYPO3\CMS\Extbase\Mvc\Request\getArguments
‪getArguments()
Definition: Request.php:214
‪TYPO3\CMS\Extbase\Mvc\Request\getMethod
‪getMethod()
Definition: Request.php:609
‪TYPO3\CMS\Extbase\Mvc\Request\withoutAttribute
‪withoutAttribute($name)
Definition: Request.php:576
‪TYPO3\CMS\Extbase\Mvc\Request\withCookieParams
‪withCookieParams(array $cookies)
Definition: Request.php:491
‪TYPO3\CMS\Extbase\Mvc\Request\setOriginalRequestMappingResults
‪setOriginalRequestMappingResults(Result $originalRequestMappingResults)
Definition: Request.php:401
‪TYPO3\CMS\Extbase\Mvc\Request\getInternalArgument
‪getInternalArgument($argumentName)
Definition: Request.php:417
‪TYPO3\CMS\Extbase\Mvc\Request\setOriginalRequest
‪setOriginalRequest(Request $originalRequest)
Definition: Request.php:383
‪TYPO3\CMS\Extbase\Mvc\Request\__construct
‪__construct($request=null)
Definition: Request.php:45
‪TYPO3\CMS\Extbase\Mvc\Request\getUploadedFiles
‪getUploadedFiles()
Definition: Request.php:517
‪TYPO3\CMS\Extbase\Mvc\Request\withAddedHeader
‪withAddedHeader($name, $value)
Definition: Request.php:705
‪TYPO3\CMS\Extbase\Mvc\Request\withPluginName
‪withPluginName($pluginName=null)
Definition: Request.php:121
‪TYPO3\CMS\Extbase\Mvc\Request\setControllerExtensionName
‪setControllerExtensionName($controllerExtensionName)
Definition: Request.php:305
‪TYPO3\CMS\Extbase\Mvc\Request\getBaseUri
‪getBaseUri()
Definition: Request.php:456
‪TYPO3\CMS\Extbase\Mvc\Request\getCookieParams
‪getCookieParams()
Definition: Request.php:483
‪TYPO3\CMS\Extbase\Mvc\Request\getOriginalRequestMappingResults
‪getOriginalRequestMappingResults()
Definition: Request.php:393
‪TYPO3\CMS\Core\Http\ServerRequest
Definition: ServerRequest.php:37
‪TYPO3\CMS\Extbase\Mvc\Request\setFormat
‪setFormat($format)
Definition: Request.php:367
‪TYPO3\CMS\Extbase\Mvc\Request\getFormat
‪getFormat()
Definition: Request.php:264
‪TYPO3\CMS\Extbase\Mvc\Request\withHeader
‪withHeader($name, $value)
Definition: Request.php:696
‪TYPO3\CMS\Extbase\Mvc\Request\withUri
‪withUri(UriInterface $uri, $preserveHost=false)
Definition: Request.php:634
‪TYPO3\CMS\Extbase\Mvc\Request\withQueryParams
‪withQueryParams(array $query)
Definition: Request.php:508
‪TYPO3\CMS\Extbase\Mvc\Request\withUploadedFiles
‪withUploadedFiles(array $uploadedFiles)
Definition: Request.php:525
‪TYPO3\CMS\Extbase\Mvc\Request\setControllerName
‪setControllerName($controllerName)
Definition: Request.php:335
‪TYPO3\CMS\Extbase\Mvc\Request\getControllerName
‪getControllerName()
Definition: Request.php:167
‪TYPO3\CMS\Extbase\Mvc\RequestInterface
Definition: RequestInterface.php:27
‪TYPO3\CMS\Extbase\Mvc\Request\getHeaders
‪getHeaders()
Definition: Request.php:664
‪TYPO3\CMS\Extbase\Mvc\Request\$request
‪ServerRequestInterface $request
Definition: Request.php:40
‪TYPO3\CMS\Extbase\Mvc\Request\withControllerExtensionName
‪self withControllerExtensionName($controllerExtensionName)
Definition: Request.php:144
‪$GLOBALS
‪$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules']
Definition: ext_localconf.php:25
‪TYPO3\CMS\Extbase\Mvc\Request\withoutHeader
‪withoutHeader($name)
Definition: Request.php:714
‪TYPO3\CMS\Extbase\Mvc\Request\setDispatched
‪setDispatched($flag)
Definition: Request.php:429
‪TYPO3\CMS\Extbase\Mvc\Request\withAttribute
‪withAttribute($name, $value)
Definition: Request.php:567
‪TYPO3\CMS\Extbase\Mvc\Request\setArguments
‪setArguments(array $arguments)
Definition: Request.php:359
‪TYPO3\CMS\Extbase\Mvc\Request\getServerParams
‪getServerParams()
Definition: Request.php:475
‪TYPO3\CMS\Extbase\Mvc\Request\getParsedBody
‪getParsedBody()
Definition: Request.php:534
‪TYPO3\CMS\Extbase\Mvc\Request\withControllerName
‪self withControllerName($controllerName)
Definition: Request.php:179
‪TYPO3\CMS\Extbase\Mvc\Request\getProtocolVersion
‪getProtocolVersion()
Definition: Request.php:647
‪TYPO3\CMS\Extbase\Mvc\Request\setPluginName
‪setPluginName($pluginName=null)
Definition: Request.php:297
‪TYPO3\CMS\Extbase\Mvc\Request\withRequestTarget
‪withRequestTarget($requestTarget)
Definition: Request.php:600
‪TYPO3\CMS\Extbase\Mvc\Request\getAttribute
‪getAttribute($name, $default=null)
Definition: Request.php:559
‪TYPO3\CMS\Extbase\Mvc\ExtbaseRequestParameters
Definition: ExtbaseRequestParameters.php:33
‪TYPO3\CMS\Extbase\Mvc\Request\hasArgument
‪hasArgument($argumentName)
Definition: Request.php:241
‪TYPO3\CMS\Extbase\Mvc\Request\withBody
‪withBody(StreamInterface $body)
Definition: Request.php:731
‪TYPO3\CMS\Extbase\Mvc\Request
Definition: Request.php:39
‪TYPO3\CMS\Extbase\Mvc\Request\getArgument
‪getArgument($argumentName)
Definition: Request.php:233
‪TYPO3\CMS\Extbase\Mvc\Request\getControllerActionName
‪getControllerActionName()
Definition: Request.php:191
‪TYPO3\CMS\Extbase\Mvc\Request\isDispatched
‪isDispatched()
Definition: Request.php:437
‪TYPO3\CMS\Extbase\Mvc\Request\getAttributes
‪getAttributes()
Definition: Request.php:551
‪TYPO3\CMS\Extbase\Mvc\Request\withControllerObjectName
‪withControllerObjectName(string $controllerObjectName)
Definition: Request.php:101
‪TYPO3\CMS\Core\Http\NormalizedParams
Definition: NormalizedParams.php:35
‪TYPO3\CMS\Extbase\Mvc\Request\getHeaderLine
‪getHeaderLine($name)
Definition: Request.php:688
‪TYPO3\CMS\Extbase\Mvc\Request\getBody
‪getBody()
Definition: Request.php:723
‪TYPO3\CMS\Extbase\Mvc\Request\withParsedBody
‪withParsedBody($data)
Definition: Request.php:542