phasync
ServerRequest / getCookieParams

Method

ServerRequest::getCookieParams

Retrieve cookies.

Description#

public ServerRequest::getCookieParams(): array

Retrieves cookies sent by the client to the server.

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

Return values#

array