34 return new CookieWrapper(SetCookie::createRememberedForever($name, $value));
52 return new CookieWrapper(SetCookie::fromSetCookieString($string));
Class ChatMainBarProvider .
create(string $name, string $value=null)
Create a new cookie with the given name and value.The unique cookie name. Cookie value.Cookie
fromSetCookieString(string $string)
Creates the cookie from the cookie string.Cookie string.Cookie
Class CookieJarWrapperTest.
createRememberedForLongTime(string $name, string $value=null)
Create a new cookie with the given name and value which expires in 5 years.The unique cookie name...
createExpired(string $name)
Creates an already expired cookie.This is useful if the cookie should be deleted at the client end...