1 | <?php declare(strict_types=1); |
||
12 | final class SetCookieHeaderResult extends AbstractParsedHeader |
||
13 | { |
||
14 | private $hasFlagSecure = false; |
||
15 | private $hasFlagHttpOnly = false; |
||
16 | private $hasFlagSameSite = false; |
||
17 | private $cookieName = ''; |
||
18 | |||
19 | public function isSecure(): bool |
||
23 | |||
24 | 8 | public function hasFlagSecure(): bool |
|
28 | |||
29 | 8 | public function setHasFlagSecure(bool $hasFlagSecure): self |
|
35 | |||
36 | 8 | public function hasFlagHttpOnly(): bool |
|
40 | |||
41 | 8 | public function setHasFlagHttpOnly(bool $hasFlagHttpOnly): self |
|
47 | |||
48 | 8 | public function hasFlagSameSite(): bool |
|
52 | |||
53 | 8 | public function setHasFlagSameSite(bool $hasFlagSameSite): self |
|
59 | |||
60 | 8 | public function setCookieName(string $cookieName): self |
|
66 | |||
67 | 8 | public function cookieName(): string |
|
71 | } |
||
72 |