method = strtoupper($method); $this->route = $route; $this->params = $params; $this->noAuth = $noAuth; } public function getMethod(): string { return $this->method; } public function getRoute(): string { return $this->route; } public function getParams(): array { return $this->params; } public function noAuth(): bool { return $this->noAuth; } }