1 | <?php |
||
11 | class SessionProvider implements ProviderInterface |
||
12 | { |
||
13 | /** |
||
14 | * @var \SessionHandlerInterface |
||
15 | */ |
||
16 | private $handler; |
||
17 | |||
18 | /** |
||
19 | * @var array |
||
20 | */ |
||
21 | private $options; |
||
22 | |||
23 | /** |
||
24 | * Constructor |
||
25 | * |
||
26 | * @param \SessionHandlerInterface $handler |
||
27 | * @param array $options |
||
28 | * |
||
29 | * @SessionOptions("options") |
||
30 | */ |
||
31 | 1 | public function __construct(\SessionHandlerInterface $handler, array $options = []) |
|
36 | |||
37 | /** |
||
38 | * @return SessionInterface |
||
39 | */ |
||
40 | 1 | public function get() |
|
46 | } |
||
47 |