‪TYPO3CMS  11.5
TYPO3\CMS\Extbase\Mvc\Request Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Mvc\Request:
TYPO3\CMS\Extbase\Mvc\RequestInterface TYPO3\CMS\Extbase\Mvc\Web\ReferringRequest

Public Member Functions

 __construct ($request=null)
 
 getControllerObjectName ()
 
 withControllerObjectName (string $controllerObjectName)
 
 getPluginName ()
 
 withPluginName ($pluginName=null)
 
 getControllerExtensionName ()
 
self withControllerExtensionName ($controllerExtensionName)
 
string getControllerExtensionKey ()
 
 getControllerName ()
 
self withControllerName ($controllerName)
 
 getControllerActionName ()
 
self withControllerActionName ($actionName)
 
 getArguments ()
 
 withArguments (array $arguments)
 
 getArgument ($argumentName)
 
 hasArgument ($argumentName)
 
self withArgument (string $argumentName, $value)
 
 getFormat ()
 
 withFormat (string $format)
 
 setControllerObjectName ($controllerObjectName)
 
 setPluginName ($pluginName=null)
 
 setControllerExtensionName ($controllerExtensionName)
 
 setControllerAliasToClassNameMapping (array $controllerAliasToClassNameMapping)
 
 withControllerAliasToClassNameMapping (array $controllerAliasToClassNameMapping)
 
 setControllerName ($controllerName)
 
 setControllerActionName ($actionName)
 
 setArgument ($argumentName, $value)
 
 setArguments (array $arguments)
 
 setFormat ($format)
 
 getOriginalRequest ()
 
 setOriginalRequest (Request $originalRequest)
 
 getOriginalRequestMappingResults ()
 
 setOriginalRequestMappingResults (Result $originalRequestMappingResults)
 
 getInternalArguments ()
 
 getInternalArgument ($argumentName)
 
 setDispatched ($flag)
 
 isDispatched ()
 
 getRequestUri ()
 
 getBaseUri ()
 
 getServerParams ()
 
 getCookieParams ()
 
 withCookieParams (array $cookies)
 
 getQueryParams ()
 
 withQueryParams (array $query)
 
 getUploadedFiles ()
 
 withUploadedFiles (array $uploadedFiles)
 
 getParsedBody ()
 
 withParsedBody ($data)
 
 getAttributes ()
 
 getAttribute ($name, $default=null)
 
 withAttribute ($name, $value)
 
 withoutAttribute ($name)
 
 getRequestTarget ()
 
 withRequestTarget ($requestTarget)
 
 getMethod ()
 
 withMethod ($method)
 
 getUri ()
 
 withUri (UriInterface $uri, $preserveHost=false)
 
 getProtocolVersion ()
 
 withProtocolVersion ($version)
 
 getHeaders ()
 
 hasHeader ($name)
 
 getHeader ($name)
 
 getHeaderLine ($name)
 
 withHeader ($name, $value)
 
 withAddedHeader ($name, $value)
 
 withoutHeader ($name)
 
 getBody ()
 
 withBody (StreamInterface $body)
 

Protected Member Functions

 getExtbaseAttribute ()
 

Protected Attributes

ServerRequestInterface $request
 

Detailed Description

The extbase request.

This is a decorator: The core PSR-7 request is hand over as constructor argument, this class implements ServerRequestInterface, too. Additionally, the extbase request details are attached as 'extbase' attribute to the PSR-7 request and this class implements extbase RequestInterface. This class has no state except the PSR-7 request, all operations are hand down to the PSR-7 request.

Definition at line 38 of file Request.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Extbase\Mvc\Request::__construct (   $request = null)
Todo:
‪v12: final public function __construct(ServerRequestInterface $request)

Reimplemented in TYPO3\CMS\Extbase\Mvc\Web\ReferringRequest.

Definition at line 45 of file Request.php.

References $GLOBALS, and TYPO3\CMS\Extbase\Mvc\Request\$request.

Member Function Documentation

◆ getArgument()

TYPO3\CMS\Extbase\Mvc\Request::getArgument (   $argumentName)

‪Return an instance with the specified controller object name set.

Todo:
‪v12: Enable

Return an instance with the specified controller alias to class name mapping set.

Todo:
‪v12: Enable or refactor to render it obsolete.

Returns the object name of the controller supposed to handle this request, if one was specified already (if not, the name of the default controller is returned)

Todo:
‪v12: Enable

Returns the name of the action the controller is supposed to execute.

Todo:
‪v12: Enable

Return an instance with the specified controller action name set.‪Note that the action name must start with a lower case letter and is case sensitive.

Parameters
string|null‪Action name
Returns
‪self
Todo:
‪v12: Enable

Returns the value of the specified argument.

Parameters
string$argumentName‪Name of the argument
Returns
‪string|array Value of the argument
Exceptions
NoSuchArgumentException‪if such an argument does not exist
Todo:
‪v12: public function getArgument(string $argumentName)

Implements TYPO3\CMS\Extbase\Mvc\RequestInterface.

Definition at line 233 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute().

◆ getArguments()

TYPO3\CMS\Extbase\Mvc\Request::getArguments ( )

‪Return an instance with the specified argument set.

Parameters
string$argumentName‪Name of the argument to set
mixed$value‪The new value
Returns
RequestInterface
Todo:
‪v12: Enable

Returns an array of extbase arguments and their values.

Todo:
‪v12: public function getArguments(): array

Implements TYPO3\CMS\Extbase\Mvc\RequestInterface.

Definition at line 214 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute().

Referenced by TYPO3\CMS\Form\Controller\FormEditorController\initializeModuleTemplate(), TYPO3\CMS\Beuser\Controller\BackendUserController\processRequest(), and TYPO3\CMS\IndexedSearch\Controller\AdministrationController\processRequest().

◆ getAttribute()

TYPO3\CMS\Extbase\Mvc\Request::getAttribute (   $name,
  $default = null 
)

◆ getAttributes()

TYPO3\CMS\Extbase\Mvc\Request::getAttributes ( )

Definition at line 551 of file Request.php.

◆ getBaseUri()

TYPO3\CMS\Extbase\Mvc\Request::getBaseUri ( )
Deprecated:
‪since v11, will be removed in v12.

Definition at line 456 of file Request.php.

References TYPO3\CMS\Core\Http\ApplicationType\fromRequest(), and TYPO3\CMS\Extbase\Mvc\Request\getAttribute().

◆ getBody()

TYPO3\CMS\Extbase\Mvc\Request::getBody ( )

Definition at line 723 of file Request.php.

◆ getControllerActionName()

TYPO3\CMS\Extbase\Mvc\Request::getControllerActionName ( )

Returns the name of the action the controller is supposed to execute.

Todo:
‪: Should be "public function getControllerActionName(): string", blocked by testing-framework

Definition at line 191 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute().

Referenced by TYPO3\CMS\Fluid\Core\Rendering\RenderingContext\getControllerAction(), TYPO3\CMS\Extensionmanager\Controller\AbstractModuleController\initializeModuleTemplate(), and TYPO3\CMS\Fluid\Core\Rendering\RenderingContext\setRequest().

◆ getControllerExtensionKey()

string TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionKey ( )

Returns the extension key of the specified controller.

Returns
‪string The extension key

Definition at line 156 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute().

◆ getControllerExtensionName()

TYPO3\CMS\Extbase\Mvc\Request::getControllerExtensionName ( )

Returns the extension name of the specified controller.

Todo:
‪: Should be "public function getControllerExtensionName(): string", blocked by testing-framework

Definition at line 133 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute().

◆ getControllerName()

TYPO3\CMS\Extbase\Mvc\Request::getControllerName ( )

Returns the controller name supposed to handle this request, if one was set already (if not, the name of the default controller is returned)

Todo:
‪: Should be "public function getControllerName(): string", blocked by testing-framework

Definition at line 167 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute().

Referenced by TYPO3\CMS\Fluid\Core\Rendering\RenderingContext\getControllerName(), TYPO3\CMS\Extensionmanager\Controller\AbstractModuleController\initializeModuleTemplate(), and TYPO3\CMS\Fluid\Core\Rendering\RenderingContext\setRequest().

◆ getControllerObjectName()

TYPO3\CMS\Extbase\Mvc\Request::getControllerObjectName ( )

Methods implementing extbase RequestInterface ‪Returns the plugin key.

Todo:
‪v12: Enable

Return an instance with the specified plugin name set.

Parameters
string|null‪Plugin name
Returns
‪self
Todo:
‪v12: Enable

Returns the extension name of the specified controller.

Returns
‪string|null
Todo:
‪v12: Enable

Return an instance with the specified controller extension name set.

Parameters
string|null‪Extension name
Returns
‪self
Todo:
‪v12: Enable

Returns the extension key of the specified controller.

Todo:
‪v12: Enable

Returns the object name of the controller defined by the package key and controller name.

Returns
‪string The controller's Object Name
Todo:
‪v12: public function getControllerObjectName(): string

Implements TYPO3\CMS\Extbase\Mvc\RequestInterface.

Definition at line 93 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute().

◆ getCookieParams()

TYPO3\CMS\Extbase\Mvc\Request::getCookieParams ( )

Definition at line 483 of file Request.php.

◆ getExtbaseAttribute()

TYPO3\CMS\Extbase\Mvc\Request::getExtbaseAttribute ( )
protected

ExtbaseAttribute attached as attribute 'extbase' to $request carries extbase specific request values. This helper method type hints this attribute.

Definition at line 81 of file Request.php.

Referenced by TYPO3\CMS\Extbase\Mvc\Request\getArgument(), TYPO3\CMS\Extbase\Mvc\Request\getArguments(), TYPO3\CMS\Extbase\Mvc\Request\getControllerActionName(), TYPO3\CMS\Extbase\Mvc\Request\getControllerExtensionKey(), TYPO3\CMS\Extbase\Mvc\Request\getControllerExtensionName(), TYPO3\CMS\Extbase\Mvc\Request\getControllerName(), TYPO3\CMS\Extbase\Mvc\Request\getControllerObjectName(), TYPO3\CMS\Extbase\Mvc\Request\getFormat(), TYPO3\CMS\Extbase\Mvc\Request\getInternalArgument(), TYPO3\CMS\Extbase\Mvc\Request\getInternalArguments(), TYPO3\CMS\Extbase\Mvc\Request\getOriginalRequest(), TYPO3\CMS\Extbase\Mvc\Request\getOriginalRequestMappingResults(), TYPO3\CMS\Extbase\Mvc\Request\getPluginName(), TYPO3\CMS\Extbase\Mvc\Request\hasArgument(), TYPO3\CMS\Extbase\Mvc\Request\isDispatched(), TYPO3\CMS\Extbase\Mvc\Web\ReferringRequest\setArgument(), TYPO3\CMS\Extbase\Mvc\Request\setArgument(), TYPO3\CMS\Extbase\Mvc\Request\setArguments(), TYPO3\CMS\Extbase\Mvc\Request\setControllerActionName(), TYPO3\CMS\Extbase\Mvc\Request\setControllerAliasToClassNameMapping(), TYPO3\CMS\Extbase\Mvc\Request\setControllerExtensionName(), TYPO3\CMS\Extbase\Mvc\Request\setControllerName(), TYPO3\CMS\Extbase\Mvc\Request\setControllerObjectName(), TYPO3\CMS\Extbase\Mvc\Request\setDispatched(), TYPO3\CMS\Extbase\Mvc\Request\setFormat(), TYPO3\CMS\Extbase\Mvc\Request\setOriginalRequest(), TYPO3\CMS\Extbase\Mvc\Request\setOriginalRequestMappingResults(), TYPO3\CMS\Extbase\Mvc\Request\setPluginName(), TYPO3\CMS\Extbase\Mvc\Request\withArgument(), TYPO3\CMS\Extbase\Mvc\Request\withArguments(), TYPO3\CMS\Extbase\Mvc\Request\withControllerActionName(), TYPO3\CMS\Extbase\Mvc\Request\withControllerAliasToClassNameMapping(), TYPO3\CMS\Extbase\Mvc\Request\withControllerExtensionName(), TYPO3\CMS\Extbase\Mvc\Request\withControllerName(), TYPO3\CMS\Extbase\Mvc\Request\withControllerObjectName(), TYPO3\CMS\Extbase\Mvc\Request\withFormat(), and TYPO3\CMS\Extbase\Mvc\Request\withPluginName().

◆ getFormat()

TYPO3\CMS\Extbase\Mvc\Request::getFormat ( )

Returns the requested representation format, something like "html", "xml", "png", "json" or the like.

Definition at line 264 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute().

◆ getHeader()

TYPO3\CMS\Extbase\Mvc\Request::getHeader (   $name)

Definition at line 680 of file Request.php.

◆ getHeaderLine()

TYPO3\CMS\Extbase\Mvc\Request::getHeaderLine (   $name)

Definition at line 688 of file Request.php.

◆ getHeaders()

TYPO3\CMS\Extbase\Mvc\Request::getHeaders ( )

Definition at line 664 of file Request.php.

◆ getInternalArgument()

TYPO3\CMS\Extbase\Mvc\Request::getInternalArgument (   $argumentName)

◆ getInternalArguments()

TYPO3\CMS\Extbase\Mvc\Request::getInternalArguments ( )

only to be used within Extbase, not part of TYPO3 Core API.

Definition at line 409 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute().

◆ getMethod()

TYPO3\CMS\Extbase\Mvc\Request::getMethod ( )

◆ getOriginalRequest()

TYPO3\CMS\Extbase\Mvc\Request::getOriginalRequest ( )

only to be used within Extbase, not part of TYPO3 Core API.

Definition at line 375 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute().

◆ getOriginalRequestMappingResults()

TYPO3\CMS\Extbase\Mvc\Request::getOriginalRequestMappingResults ( )

Get the request mapping results for the original request.

only to be used within Extbase, not part of TYPO3 Core API.

Definition at line 393 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute().

◆ getParsedBody()

TYPO3\CMS\Extbase\Mvc\Request::getParsedBody ( )

Definition at line 534 of file Request.php.

◆ getPluginName()

TYPO3\CMS\Extbase\Mvc\Request::getPluginName ( )

Returns the plugin key.

Todo:
‪: Should be "public function getPluginName(): string", blocked by testing-framework

Definition at line 113 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute().

◆ getProtocolVersion()

TYPO3\CMS\Extbase\Mvc\Request::getProtocolVersion ( )

Methods implementing MessageInterface

Definition at line 647 of file Request.php.

◆ getQueryParams()

TYPO3\CMS\Extbase\Mvc\Request::getQueryParams ( )

Definition at line 500 of file Request.php.

◆ getRequestTarget()

TYPO3\CMS\Extbase\Mvc\Request::getRequestTarget ( )

Methods implementing RequestInterface

Definition at line 592 of file Request.php.

◆ getRequestUri()

TYPO3\CMS\Extbase\Mvc\Request::getRequestUri ( )
Deprecated:
‪since v11, will be removed in v12.

Definition at line 445 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getAttribute().

◆ getServerParams()

TYPO3\CMS\Extbase\Mvc\Request::getServerParams ( )

Methods implementing ServerRequestInterface

Definition at line 475 of file Request.php.

◆ getUploadedFiles()

TYPO3\CMS\Extbase\Mvc\Request::getUploadedFiles ( )

Definition at line 517 of file Request.php.

◆ getUri()

TYPO3\CMS\Extbase\Mvc\Request::getUri ( )

Definition at line 626 of file Request.php.

◆ hasArgument()

TYPO3\CMS\Extbase\Mvc\Request::hasArgument (   $argumentName)

@inheritDoc

Implements TYPO3\CMS\Extbase\Mvc\RequestInterface.

Definition at line 241 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute().

◆ hasHeader()

TYPO3\CMS\Extbase\Mvc\Request::hasHeader (   $name)

Definition at line 672 of file Request.php.

◆ isDispatched()

TYPO3\CMS\Extbase\Mvc\Request::isDispatched ( )
Deprecated:
‪since v11, will be removed in v12.

Definition at line 437 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute().

◆ setArgument()

TYPO3\CMS\Extbase\Mvc\Request::setArgument (   $argumentName,
  $value 
)

only to be used within Extbase, not part of TYPO3 Core API. Violates immutability.

Reimplemented in TYPO3\CMS\Extbase\Mvc\Web\ReferringRequest.

Definition at line 351 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute().

◆ setArguments()

TYPO3\CMS\Extbase\Mvc\Request::setArguments ( array  $arguments)

only to be used within Extbase, not part of TYPO3 Core API. Violates immutability.

Definition at line 359 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute().

Referenced by TYPO3\CMS\IndexedSearch\Controller\AdministrationController\processRequest().

◆ setControllerActionName()

TYPO3\CMS\Extbase\Mvc\Request::setControllerActionName (   $actionName)

◆ setControllerAliasToClassNameMapping()

TYPO3\CMS\Extbase\Mvc\Request::setControllerAliasToClassNameMapping ( array  $controllerAliasToClassNameMapping)

only to be used within Extbase, not part of TYPO3 Core API. Violates immutability.

Definition at line 313 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute().

◆ setControllerExtensionName()

◆ setControllerName()

TYPO3\CMS\Extbase\Mvc\Request::setControllerName (   $controllerName)

only to be used within Extbase, not part of TYPO3 Core API. Violates immutability.

Definition at line 335 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute().

◆ setControllerObjectName()

TYPO3\CMS\Extbase\Mvc\Request::setControllerObjectName (   $controllerObjectName)

Extbase

methods, not part of extbase RequestInterface. Should vanish as soon as unused.

only to be used within Extbase, not part of TYPO3 Core API. Violates immutability.

Definition at line 289 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute().

◆ setDispatched()

TYPO3\CMS\Extbase\Mvc\Request::setDispatched (   $flag)

Deprecated methods of extbase Request for v11 compat.

Deprecated:
‪since v11, will be removed in v12. Violates immutability.

Definition at line 429 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute().

Referenced by TYPO3\CMS\Extbase\Mvc\Controller\ActionController\processRequest().

◆ setFormat()

TYPO3\CMS\Extbase\Mvc\Request::setFormat (   $format)

only to be used within Extbase, not part of TYPO3 Core API. Violates immutability.

Definition at line 367 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute().

◆ setOriginalRequest()

TYPO3\CMS\Extbase\Mvc\Request::setOriginalRequest ( Request  $originalRequest)

only to be used within Extbase, not part of TYPO3 Core API. Violates immutability.

Definition at line 383 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute().

◆ setOriginalRequestMappingResults()

TYPO3\CMS\Extbase\Mvc\Request::setOriginalRequestMappingResults ( Result  $originalRequestMappingResults)

only to be used within Extbase, not part of TYPO3 Core API. Violates immutability.

Definition at line 401 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute().

◆ setPluginName()

TYPO3\CMS\Extbase\Mvc\Request::setPluginName (   $pluginName = null)

only to be used within Extbase, not part of TYPO3 Core API. Violates immutability.

Definition at line 297 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute().

◆ withAddedHeader()

TYPO3\CMS\Extbase\Mvc\Request::withAddedHeader (   $name,
  $value 
)

Definition at line 705 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\$request.

◆ withArgument()

self TYPO3\CMS\Extbase\Mvc\Request::withArgument ( string  $argumentName,
  $value 
)

Return an instance with the specified argument set.

Parameters
string$argumentName‪Name of the argument to set
mixed$value‪The new value
Returns
‪self

Definition at line 253 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute(), and TYPO3\CMS\Extbase\Mvc\Request\withAttribute().

◆ withArguments()

TYPO3\CMS\Extbase\Mvc\Request::withArguments ( array  $arguments)

Return an instance with the specified extbase arguments, replacing any arguments which existed before.

Definition at line 223 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute(), and TYPO3\CMS\Extbase\Mvc\Request\withAttribute().

◆ withAttribute()

◆ withBody()

TYPO3\CMS\Extbase\Mvc\Request::withBody ( StreamInterface  $body)

Definition at line 731 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\$request.

◆ withControllerActionName()

self TYPO3\CMS\Extbase\Mvc\Request::withControllerActionName (   $actionName)

Return an instance with the specified controller action name set.

Note that the action name must start with a lower case letter and is case sensitive.

Parameters
string | null$actionName‪Action name
Returns
‪self

Definition at line 204 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute(), and TYPO3\CMS\Extbase\Mvc\Request\withAttribute().

◆ withControllerAliasToClassNameMapping()

TYPO3\CMS\Extbase\Mvc\Request::withControllerAliasToClassNameMapping ( array  $controllerAliasToClassNameMapping)

only to be used within Extbase, not part of TYPO3 Core API.

Definition at line 323 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute(), and TYPO3\CMS\Extbase\Mvc\Request\withAttribute().

◆ withControllerExtensionName()

self TYPO3\CMS\Extbase\Mvc\Request::withControllerExtensionName (   $controllerExtensionName)

Return an instance with the specified controller extension name set.

Parameters
string | null$controllerExtensionName‪Extension name
Returns
‪self

Definition at line 144 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute(), and TYPO3\CMS\Extbase\Mvc\Request\withAttribute().

◆ withControllerName()

self TYPO3\CMS\Extbase\Mvc\Request::withControllerName (   $controllerName)

Return an instance with the specified controller name set. Note: This is not the object name of the controller!

Parameters
string | null$controllerNameController name
Returns
‪self

Definition at line 179 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute(), and TYPO3\CMS\Extbase\Mvc\Request\withAttribute().

◆ withControllerObjectName()

TYPO3\CMS\Extbase\Mvc\Request::withControllerObjectName ( string  $controllerObjectName)

Return an instance with the specified controller object name set.

Definition at line 101 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute(), and TYPO3\CMS\Extbase\Mvc\Request\withAttribute().

◆ withCookieParams()

TYPO3\CMS\Extbase\Mvc\Request::withCookieParams ( array  $cookies)

Definition at line 491 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\$request.

◆ withFormat()

TYPO3\CMS\Extbase\Mvc\Request::withFormat ( string  $format)

Return an instance with the specified derived request attribute.

This method allows setting a single derived request attribute as described in getFormat().

Definition at line 275 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute(), and TYPO3\CMS\Extbase\Mvc\Request\withAttribute().

◆ withHeader()

TYPO3\CMS\Extbase\Mvc\Request::withHeader (   $name,
  $value 
)

Definition at line 696 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\$request.

◆ withMethod()

TYPO3\CMS\Extbase\Mvc\Request::withMethod (   $method)

Definition at line 617 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\$request.

◆ withoutAttribute()

TYPO3\CMS\Extbase\Mvc\Request::withoutAttribute (   $name)

Definition at line 576 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\$request.

◆ withoutHeader()

TYPO3\CMS\Extbase\Mvc\Request::withoutHeader (   $name)

Definition at line 714 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\$request.

◆ withParsedBody()

TYPO3\CMS\Extbase\Mvc\Request::withParsedBody (   $data)

Definition at line 542 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\$request.

◆ withPluginName()

TYPO3\CMS\Extbase\Mvc\Request::withPluginName (   $pluginName = null)

Return an instance with the specified plugin name set.

Definition at line 121 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\getExtbaseAttribute(), and TYPO3\CMS\Extbase\Mvc\Request\withAttribute().

◆ withProtocolVersion()

TYPO3\CMS\Extbase\Mvc\Request::withProtocolVersion (   $version)

Definition at line 655 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\$request.

◆ withQueryParams()

TYPO3\CMS\Extbase\Mvc\Request::withQueryParams ( array  $query)

Definition at line 508 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\$request.

◆ withRequestTarget()

TYPO3\CMS\Extbase\Mvc\Request::withRequestTarget (   $requestTarget)

Definition at line 600 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\$request.

◆ withUploadedFiles()

TYPO3\CMS\Extbase\Mvc\Request::withUploadedFiles ( array  $uploadedFiles)

Definition at line 525 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\$request.

◆ withUri()

TYPO3\CMS\Extbase\Mvc\Request::withUri ( UriInterface  $uri,
  $preserveHost = false 
)

Definition at line 634 of file Request.php.

References TYPO3\CMS\Extbase\Mvc\Request\$request.

Member Data Documentation

◆ $request