$attributes
$attributes :
OAuth2\Request This class is taken from the Symfony2 Framework and is part of the Symfony package.
See Symfony\Component\HttpFoundation\Request (https://github.com/symfony/symfony)
initialize(array $query = array(), array $request = array(), array $attributes = array(), array $cookies = array(), array $files = array(), array $server = array(), string $content = null, array $headers = null)
Sets the parameters for this request.
This method also re-initializes all properties.
| array | $query |
|
| array | $request |
|
| array | $attributes |
|
| array | $cookies |
|
| array | $files |
|
| array | $server |
|
| string | $content |
|
| array | $headers |
|
createFromGlobals() : \OAuth2\Request
Creates a new request with values from PHP's super globals.