1 | <?php |
||
19 | class ZendSession implements AdapterInterface |
||
20 | { |
||
21 | /** |
||
22 | * @var Container The session container used to store data. |
||
23 | */ |
||
24 | private $container; |
||
25 | |||
26 | /** |
||
27 | * Initializes a new instance of this class. |
||
28 | * |
||
29 | * @param Container $container The container used to store data. |
||
30 | */ |
||
31 | public function __construct(Container $container) |
||
35 | |||
36 | /** |
||
37 | * {@inheritDoc} |
||
38 | * |
||
39 | * @param string $identifier The tests identifier |
||
40 | */ |
||
41 | public function has($identifier) |
||
45 | |||
46 | /** |
||
47 | * {@inheritDoc} |
||
48 | * |
||
49 | * @param string $identifier The tests identifier name |
||
50 | */ |
||
51 | public function get($identifier) |
||
59 | |||
60 | /** |
||
61 | * {@inheritDoc} |
||
62 | * |
||
63 | * @param string $identifier The tests identifier |
||
64 | * @param mixed $participation The participated variant |
||
65 | */ |
||
66 | public function set($identifier, $participation) |
||
70 | |||
71 | /** |
||
72 | * {@inheritDoc} |
||
73 | */ |
||
74 | public function all() |
||
78 | |||
79 | /** |
||
80 | * {@inheritDoc} |
||
81 | * |
||
82 | * @param string $identifier The identifier of the test to remove. |
||
83 | */ |
||
84 | public function remove($identifier) |
||
96 | |||
97 | /** |
||
98 | * {@inheritDoc} |
||
99 | */ |
||
100 | public function clear() |
||
108 | } |
||
109 |