change cookie::sign to public.
This commit is contained in:
@@ -147,7 +147,7 @@ class Cookie {
|
|||||||
* @param string $value
|
* @param string $value
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
protected static function sign($name, $value)
|
public static function sign($name, $value)
|
||||||
{
|
{
|
||||||
return static::hash($name, $value).'~'.$value;
|
return static::hash($name, $value).'~'.$value;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user