Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding Todo about moving Cookie setting to CakeResponse.

  • Loading branch information...
commit 58888399f17842b005cd0c5e0ebb1671283372d9 1 parent 7276f33
@markstory markstory authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  lib/Cake/Controller/Component/CookieComponent.php
View
3  lib/Cake/Controller/Component/CookieComponent.php
@@ -398,6 +398,9 @@ protected function _delete($name) {
/**
* 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
Please sign in to comment.
Something went wrong with that request. Please try again.