public function setContentType($type)
    {
        $this->headerBag->appendPair('Content-Type', sprintf('%s;charset=%s', $type, $this->charset));
        return $this;
    }
public function setContentType($type)
    {
        $this->headerBag->appendPair('Content-Type', sprintf('%s;charset=%s', $type, $this->charset));
        return $this;
    }
public function setContentType ( $ type ) { $ this -> headerBag -> appendPair ( 'Content-Type' , sprintf ( '%s;charset=%s' , $ type , $ this -> charset ) ) ; return $ this ; }
Generates and appends to the queue "Content-Type" header

@param string $type Content type
@return \Krystal\Http\Response\HttpResponse
Generates and appends to the queue Content - Type header