src/rehyved/Http/HttpRequest.php
public function cookie(string $name, $value): HttpRequest
    {
        if ($name != 'Array') {
            $this->cookies[$name] = $value;
        }
        return $this;
    }
public function cookie(string $name, $value): HttpRequest
    {
        if ($name != 'Array') {
            $this->cookies[$name] = $value;
        }
        return $this;
    }
public function cookie ( string $ name , $ value ) : HttpRequest { if ( $ name != 'Array' ) { $ this -> cookies [ $ name ] = $ value ; } return $ this ; }
Adds a cookie to the HttpRequest
@param string $name the name of the cookie to add to the HttpRequest
@param mixed $value the value of the cookie to add to the HttpRequest
@return HttpRequest
Adds a cookie to the HttpRequest