@@ -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) |
@@ -140,6 +140,9 @@ |
||
| 140 | 140 | $this->read($key); |
| 141 | 141 | } |
| 142 | 142 | |
| 143 | + /** |
|
| 144 | + * @param string $key |
|
| 145 | + */ |
|
| 143 | 146 | public function save($key, $info){ |
| 144 | 147 | $this->write($key, $info); |
| 145 | 148 | } |