@@ -14,6 +14,9 @@ |
||
14 | 14 | /** @var string */ |
15 | 15 | protected $key; |
16 | 16 | |
17 | + /** |
|
18 | + * @param string $key |
|
19 | + */ |
|
17 | 20 | public function __construct(Request $request, $key) |
18 | 21 | { |
19 | 22 | $this->request = $request; |
@@ -58,6 +58,10 @@ |
||
58 | 58 | return ''; |
59 | 59 | } |
60 | 60 | |
61 | + /** |
|
62 | + * @param string $path |
|
63 | + * @param string $method |
|
64 | + */ |
|
61 | 65 | private function requestMatched($pathLimit, $path, $method) |
62 | 66 | { |
63 | 67 | return $this->methodMatched($pathLimit['methods'], $method) |
@@ -276,6 +276,9 @@ |
||
276 | 276 | $this->writeTo($key, $info, $period, $reset); |
277 | 277 | } |
278 | 278 | |
279 | + /** |
|
280 | + * @param integer $reset |
|
281 | + */ |
|
279 | 282 | public function writeTo($sessionId, $info, $period, $reset) |
280 | 283 | { |
281 | 284 | $maxlifetime = (int) ini_get('session.gc_maxlifetime'); |