@@ -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) |
@@ -173,6 +173,10 @@ |
||
173 | 173 | return $this->read($key); |
174 | 174 | } |
175 | 175 | |
176 | + /** |
|
177 | + * @param string $key |
|
178 | + * @param string $info |
|
179 | + */ |
|
176 | 180 | public function save($key, $info) |
177 | 181 | { |
178 | 182 | $this->write($key, $info); |