public function getCookie(string $name) { $ireq = $this->internalRequest; return $ireq->cookies[$name] ?? null; }