mini\Http\Message\ServerRequest::getCookieParams() Method

public

Signature

public function getCookieParams(): array

Returns

array

Documentation

Retrieve cookies.

Retrieves cookies sent by the client to the server.

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

Source

src/Http/Message/ServerRequestTrait.php:161-163