src/rehyved/Http/HttpRequest.php
public function accept(string $contentType): HttpRequest
    {
        $contentType = trim($contentType);

        return $this->header("Accept", $contentType);
    }
public function accept(string $contentType): HttpRequest
    {
        $contentType = trim($contentType);

        return $this->header("Accept", $contentType);
    }
public function accept ( string $ contentType ) : HttpRequest { $ contentType = trim ( $ contentType ) ; return $ this -> header ( "Accept" , $ contentType ) ; }
Sets the Accept header of the HttpRequest
@param string $contentType the value to set for the Accept header
@return HttpRequest
Sets the Accept header of the HttpRequest