44 return $this->cookie->getName();
53 return $this->cookie->getValue();
62 return $this->cookie->getExpires();
71 return $this->cookie->getMaxAge();
80 return $this->cookie->getPath();
89 return $this->cookie->getDomain();
98 return $this->cookie->getSecure();
107 return $this->cookie->getHttpOnly();
116 $clone = clone $this;
117 $clone->cookie = $this->cookie->
withValue($value);
128 $clone = clone $this;
129 $clone->cookie = $this->cookie->
withExpires($expires);
140 $clone = clone $this;
141 $clone->cookie = $this->cookie->rememberForever();
152 $clone = clone $this;
153 $clone->cookie = $this->cookie->
expire();
164 $clone = clone $this;
165 $clone->cookie = $this->cookie->
withMaxAge($maxAge);
176 $clone = clone $this;
177 $clone->cookie = $this->cookie->
withPath($path);
188 $clone = clone $this;
189 $clone->cookie = $this->cookie->
withDomain($domain);
200 $clone = clone $this;
201 $clone->cookie = $this->cookie->
withSecure($secure);
212 $clone = clone $this;
213 $clone->cookie = $this->cookie->
withHttpOnly($httpOnly);
224 return $this->cookie->__toString();
withPath(string $path=null)
withHttpOnly(bool $httpOnly=null)
withMaxAge(int $maxAge=null)
Class ChatMainBarProvider .
withMaxAge(int $maxAge=null)
Maximal life time of the cookie in seconds.
withPath(string $path=null)
Sets the cookie path.
withSecure(bool $secure=null)
Sets if the cookie is a secure cookie or not.
expire()
Expire the cookie.
Class CookieJarWrapperTest.
getImplementation()
Returns the underlying implementation.
withExpires($expires=null)
withValue(string $value=null)
Sets the cookie value.
withHttpOnly(bool $httpOnly=null)
Sets if the cookie is http only.
withDomain(string $domain=null)
withValue(string $value=null)
withSecure(bool $secure=null)
$cookie
Underlying implementation.
withExpires($expires=null)
Sets the expiration date of the cookie.
__construct(SetCookie $cookie)
CookieFacade constructor.
withDomain(string $domain=null)
Sets the domain name for the cookie.