You are here

public function ServerRequestInterface::getAttributes in Lockr 7.3

Retrieve attributes derived from the request.

The request "attributes" may be used to allow injection of any parameters derived from the request: e.g., the results of path match operations; the results of decrypting cookies; the results of deserializing non-form-encoded message bodies; etc. Attributes will be application and request specific, and CAN be mutable.

Return value

array Attributes derived from the request.

1 method overrides ServerRequestInterface::getAttributes()
ServerRequest::getAttributes in vendor/guzzlehttp/psr7/src/ServerRequest.php
Retrieve attributes derived from the request.

File

vendor/psr/http-message/src/ServerRequestInterface.php, line 210

Class

ServerRequestInterface
Representation of an incoming, server-side HTTP request.

Namespace

Psr\Http\Message

Code

public function getAttributes();