Skip to content

Commit 17824fb

Browse files
committed
docs: add details
1 parent d82b7e2 commit 17824fb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

user_guide_src/source/helpers/cookie_helper.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The following functions are available:
2828
:param int $expire: Number of seconds until expiration
2929
:param string $domain: Cookie domain (usually: .yourdomain.com)
3030
:param string $path: Cookie path
31-
:param string $prefix: Cookie name prefix
31+
:param string $prefix: Cookie name prefix. If ``''``, the default from **app/Config/Cookie.php** is used
3232
:param bool $secure: Whether to only send the cookie through HTTPS
3333
:param bool $httpOnly: Whether to hide the cookie from JavaScript
3434
:param string $sameSite: The value for the SameSite cookie parameter. If ``null``, the default from **app/Config/Cookie.php** is used

user_guide_src/source/outgoing/response.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ The methods provided by the parent class that are available are:
367367
:param int $expire: Cookie expiration time in seconds
368368
:param string $domain: Cookie domain
369369
:param string $path: Cookie path
370-
:param string $prefix: Cookie name prefix
370+
:param string $prefix: Cookie name prefix. If set to ``''``, the default value from **app/Config/Cookie.php** will be used
371371
:param bool $secure: Whether to only transfer the cookie through HTTPS
372372
:param bool $httponly: Whether to only make the cookie accessible for HTTP requests (no JavaScript)
373373
:param string $samesite: The value for the SameSite cookie parameter. If set to ``''``, no SameSite attribute will be set on the cookie. If set to ``null``, the default value from **app/Config/Cookie.php** will be used

0 commit comments

Comments
 (0)