1
0
Fork 0
mirror of synced 2024-07-04 22:20:45 +12:00

Allow cloning a request

This commit is contained in:
Jake Barnby 2022-10-12 20:55:43 +13:00
parent 597885028a
commit bb64bcc1c1
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C

View file

@ -27,6 +27,11 @@ class Request extends UtopiaRequest
parent::__construct($request);
}
public function clone(): Request
{
return new self($this->swoole);
}
public function getSwoole(): SwooleRequest
{
return $this->swoole;