@@ -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) |