This commit is contained in:
2023-04-25 17:22:37 +08:00
parent 02d78eb205
commit 6c86f1f2e5
8 changed files with 18 additions and 7 deletions
+11
View File
@@ -65,6 +65,17 @@ class Request implements ServerRequestInterface
}
/**
* @param string $name
* @return mixed
*/
public function __get(string $name): mixed
{
// TODO: Implement __get() method.
return $this->__call__('get' . ucfirst($name));
}
/**
* Retrieves the HTTP protocol version as a string.
*