clarify cookie comment.

This commit is contained in:
Taylor Otwell 2012-02-24 10:31:43 -06:00
parent c9bb800ee9
commit 97cb0035f4
1 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ protected static function set($cookie)
setcookie($name, $value, $time, $path, $domain, $secure);
}
}
/**
* Get the value of a cookie.
@ -92,7 +92,7 @@ public static function get($name, $default = null)
if ( ! is_null($value) and isset($value[40]) and $value[40] == '~')
{
// The hash signature and the cookie value are separated by a tilde
// character for convenience. To separate the hash and the contents
// character for convenience. To separate the hash and the payload
// we can simply expode on that character.
list($hash, $value) = explode('~', $value, 2);