Lines Matching refs:SetCookie
14 * @var SetCookie[] Loaded cookie data
35 if (!($cookie instanceof SetCookie)) {
36 $cookie = new SetCookie($cookie);
52 $cookieJar->setCookie(new SetCookie([
67 * @param SetCookie $cookie Being evaluated.
70 public static function shouldPersist(SetCookie $cookie, bool $allowSessionCookies = false): bool
86 * @return SetCookie|null cookie that was found or null if not found
88 public function getCookieByName(string $name): ?SetCookie
101 return \array_map(static function (SetCookie $cookie): array {
115 static function (SetCookie $cookie) use ($domain): bool {
122 static function (SetCookie $cookie) use ($path, $domain): bool {
130 static function (SetCookie $cookie) use ($path, $domain, $name) {
143 static function (SetCookie $cookie): bool {
149 public function setCookie(SetCookie $cookie): bool
226 $sc = SetCookie::fromString($cookie);
296 private function removeCookieIfEmpty(SetCookie $cookie): void