public function ServerRequest::getAttributes in Zircon Profile 8
Same name in this branch
- 8 vendor/zendframework/zend-diactoros/src/ServerRequest.php \Zend\Diactoros\ServerRequest::getAttributes()
- 8 vendor/symfony/psr-http-message-bridge/Tests/Fixtures/ServerRequest.php \Symfony\Bridge\PsrHttpMessage\Tests\Fixtures\ServerRequest::getAttributes()
Same name and namespace in other branches
- 8.0 vendor/symfony/psr-http-message-bridge/Tests/Fixtures/ServerRequest.php \Symfony\Bridge\PsrHttpMessage\Tests\Fixtures\ServerRequest::getAttributes()
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.
Overrides ServerRequestInterface::getAttributes
File
- vendor/
symfony/ psr-http-message-bridge/ Tests/ Fixtures/ ServerRequest.php, line 122
Class
- ServerRequest
- @author Kévin Dunglas <dunglas@gmail.com>
Namespace
Symfony\Bridge\PsrHttpMessage\Tests\FixturesCode
public function getAttributes() {
return $this->attributes;
}