merging develop.

This commit is contained in:
Taylor Otwell
2011-06-15 23:40:08 -05:00
7 changed files with 81 additions and 36 deletions

View File

@@ -90,7 +90,15 @@ class Cookie {
*/
public static function has($name)
{
return ( ! is_null(static::get($name)));
foreach (func_get_args() as $key)
{
if (is_null(static::get($key)))
{
return false;
}
}
return true;
}
/**