| 1 | <?php |
||
| 8 | class SessionStore implements NotifierSessionStore |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var Store |
||
| 12 | */ |
||
| 13 | private $store; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param Store $store |
||
| 17 | */ |
||
| 18 | 15 | public function __construct(Store $store) |
|
| 22 | |||
| 23 | /** |
||
| 24 | * @param string $key |
||
| 25 | * @param array $notification |
||
| 26 | * @return void |
||
| 27 | */ |
||
| 28 | 3 | public function push($key, array $notification) |
|
| 32 | |||
| 33 | /** |
||
| 34 | * @param string $key |
||
| 35 | * @return bool |
||
| 36 | */ |
||
| 37 | 3 | public function has($key) |
|
| 41 | |||
| 42 | /** |
||
| 43 | * @param string $key |
||
| 44 | * @return array |
||
| 45 | */ |
||
| 46 | 3 | public function get($key) |
|
| 50 | |||
| 51 | /** |
||
| 52 | * @param string $key |
||
| 53 | * @param array $notifications |
||
| 54 | * @return void |
||
| 55 | */ |
||
| 56 | 3 | public function put($key, array $notifications) |
|
| 60 | } |
||
| 61 |