38 if ( $this->headerCollection !==
null ) {
59 if ( $this->headerCollection ===
null ) {
62 return $this->headerCollection->getHeaders();
66 if ( $this->headerCollection ===
null ) {
69 return $this->headerCollection->getHeader( $name );
73 if ( $this->headerCollection ===
null ) {
76 return $this->headerCollection->hasHeader( $name );
80 if ( $this->headerCollection ===
null ) {
83 return $this->headerCollection->getHeaderLine( $name );
87 $this->pathParams = $params;
95 return $this->pathParams[$name] ??
null;
105 if ( array_key_exists( $prefixedName, $cookies ) ) {
106 return $cookies[$prefixedName];