Lines Matching refs:Cookie
33 * @see Cookie for description of possible cookie properties
34 * @param Cookie|array $cookie Cookie object. May be also created from array for compatibility reasons.
40 $cookie = Cookie::createFromArray($cookie);
42 if (!$cookie instanceof Cookie) {
43 throw new InvalidArgumentException('Cookie must be set from instance of Cookie class or from array.');
87 * @return Cookie|null The cookie, or null in JsonWire mode if no cookie with the given name is present
101 return Cookie::createFromArray($cookieArray);
117 * @return Cookie[] The array of cookies presented.
128 $cookies[] = Cookie::createFromArray($cookieArray);