@@ -153,6 +153,9 @@ |
||
153 | 153 | return $requestPath; |
154 | 154 | } |
155 | 155 | |
156 | + /** |
|
157 | + * @param string $requestMethods |
|
158 | + */ |
|
156 | 159 | public function add( |
157 | 160 | $requestMethods, |
158 | 161 | string $route, |
@@ -43,6 +43,9 @@ |
||
43 | 43 | FastRoute\Dispatcher::NOT_FOUND => 404 |
44 | 44 | ]; |
45 | 45 | |
46 | + /** |
|
47 | + * @param null|string $cacheFile |
|
48 | + */ |
|
46 | 49 | public function __construct(array $routes, int $defaultReturnType, ?string $cacheFile) |
47 | 50 | { |
48 | 51 | $this->routes = $routes; |