Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update doc block.

  • Loading branch information...
commit 631da2d04adbe2838a757a85ded421c0ae88393f 1 parent 76fe9f8
@markstory markstory authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/Cake/Controller/Component/CookieComponent.php
View
3  lib/Cake/Controller/Component/CookieComponent.php
@@ -208,7 +208,8 @@ public function startup(Controller $controller) {
* @param string|array $key Key for the value
* @param mixed $value Value
* @param boolean $encrypt Set to true to encrypt value, false otherwise
- * @param integer|string $expires Can be either Unix timestamp, or date string
+ * @param integer|string $expires Can be either the number of seconds until a cookie
+ * expires, or a strtotime compatible time offset.
* @return void
* @link http://book.cakephp.org/2.0/en/core-libraries/components/cookie.html#CookieComponent::write
*/
Please sign in to comment.
Something went wrong with that request. Please try again.