1 | <?php declare(strict_types=1); |
||
26 | class CookieFunctions implements CookieFunctionsInterface |
||
27 | { |
||
28 | /** @var callable */ |
||
29 | private $setCookieCallable = '\setcookie'; |
||
30 | |||
31 | /** @var callable */ |
||
32 | private $setRawCookieCallable = '\setrawcookie'; |
||
33 | |||
34 | /** |
||
35 | 1 | * @inheritdoc |
|
36 | */ |
||
37 | 1 | public function getWriteCookieCallable(): callable |
|
41 | |||
42 | /** |
||
43 | 1 | * @inheritdoc |
|
44 | */ |
||
45 | 1 | public function setWriteCookieCallable(callable $callable): CookieFunctionsInterface |
|
51 | |||
52 | /** |
||
53 | 1 | * @inheritdoc |
|
54 | */ |
||
55 | 1 | public function getWriteRawCookieCallable(): callable |
|
59 | |||
60 | /** |
||
61 | 1 | * @inheritdoc |
|
62 | */ |
||
63 | 1 | public function setWriteRawCookieCallable(callable $callable): CookieFunctionsInterface |
|
69 | } |
||
70 |