Commit 97cb0035 authored by Taylor Otwell's avatar Taylor Otwell

clarify cookie comment.

parent c9bb800e
...@@ -66,7 +66,7 @@ class Cookie { ...@@ -66,7 +66,7 @@ class Cookie {
setcookie($name, $value, $time, $path, $domain, $secure); setcookie($name, $value, $time, $path, $domain, $secure);
} }
} }
/** /**
* Get the value of a cookie. * Get the value of a cookie.
...@@ -92,7 +92,7 @@ class Cookie { ...@@ -92,7 +92,7 @@ class Cookie {
if ( ! is_null($value) and isset($value[40]) and $value[40] == '~') if ( ! is_null($value) and isset($value[40]) and $value[40] == '~')
{ {
// The hash signature and the cookie value are separated by a tilde // 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. // we can simply expode on that character.
list($hash, $value) = explode('~', $value, 2); list($hash, $value) = explode('~', $value, 2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment