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();
Class CookieJarWrapperTest.
getImplementation()
Returns the underlying implementation.
withExpires($expires=null)
$cookie
Underlying implementation.
if(!array_key_exists('domain', $_REQUEST)) $domain
__construct(SetCookie $cookie)
CookieFacade constructor.
withHttpOnly($httpOnly=null)