request->params; } /** * @return \HttpServer\Http\HttpHeaders|null */ private function getHeader() { return $this->request->headers; } /** * @param $name * @return \Snowflake\Application|null */ public function __get($name) { $method = 'get' . ucfirst($name); if (method_exists($this, $method)) { return $this->{$method}(); } return $this->{$name} ?? null; } }