This commit is contained in:
xl
2024-08-29 16:08:11 +08:00
parent 1efb583194
commit ac4315bcb9
+1
View File
@@ -273,6 +273,7 @@ class RouterCollector implements \ArrayAccess, \IteratorAggregate
*/
public function query(string $path, string $method): HttpRequestHandler
{
var_dump($this->httpHandler, $method . '_' . $path);
return $this->httpHandler[$method . '_' . $path] ?? new HttpRequestHandler([], $this->found);
}