| 1 | <?php |
||
| 20 | class CookieStorage implements StorageInterface |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var RequestStack |
||
| 24 | */ |
||
| 25 | private $requestStack; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param RequestStack $requestStack |
||
| 29 | */ |
||
| 30 | 5 | public function __construct(RequestStack $requestStack) |
|
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | 1 | public function offsetExists($offset) |
|
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritdoc} |
||
| 45 | */ |
||
| 46 | 1 | public function offsetGet($offset) |
|
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritdoc} |
||
| 53 | */ |
||
| 54 | 1 | public function offsetSet($offset, $value) |
|
| 58 | |||
| 59 | /** |
||
| 60 | * {@inheritdoc} |
||
| 61 | */ |
||
| 62 | 1 | public function offsetUnset($offset) |
|
| 66 | |||
| 67 | /** |
||
| 68 | * @return ParameterBag |
||
| 69 | */ |
||
| 70 | 4 | private function getCookies() |
|
| 74 | } |
||
| 75 |