You are here

public function ServerRequest::getCookieParams in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/zendframework/zend-diactoros/src/ServerRequest.php \Zend\Diactoros\ServerRequest::getCookieParams()
  2. 8.0 vendor/symfony/psr-http-message-bridge/Tests/Fixtures/ServerRequest.php \Symfony\Bridge\PsrHttpMessage\Tests\Fixtures\ServerRequest::getCookieParams()
Same name and namespace in other branches
  1. 8 vendor/zendframework/zend-diactoros/src/ServerRequest.php \Zend\Diactoros\ServerRequest::getCookieParams()

Retrieve cookies.

Retrieves cookies sent by the client to the server.

The data MUST be compatible with the structure of the $_COOKIE superglobal.

Return value

array

Overrides ServerRequestInterface::getCookieParams

File

vendor/zendframework/zend-diactoros/src/ServerRequest.php, line 120

Class

ServerRequest
Server-side HTTP request

Namespace

Zend\Diactoros

Code

public function getCookieParams() {
  return $this->cookieParams;
}