mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Adding Todo about moving Cookie setting to CakeResponse.
This commit is contained in:
parent
7276f3357d
commit
58888399f1
1 changed files with 3 additions and 0 deletions
|
@ -398,6 +398,9 @@ class CookieComponent extends Component {
|
|||
/**
|
||||
* Object wrapper for setcookie() so it can be mocked in unit tests.
|
||||
*
|
||||
* @todo Re-factor setting cookies into CakeResponse. Cookies are part
|
||||
* of the HTTP response, and should be handled there.
|
||||
*
|
||||
* @param string $name Name of the cookie
|
||||
* @param integer $expire Time the cookie expires in
|
||||
* @param string $path Path the cookie applies to
|
||||
|
|
Loading…
Add table
Reference in a new issue