CanGelis\L4pdf\PDF::createResponse PHP Method

createResponse() protected method

Creates a response object with proper Content-type for PDF Doc.
protected createResponse ( ) : Illuminate\Http\Response
return Illuminate\Http\Response
    protected function createResponse()
    {
        return Response::make($this->get(), 200)->header('Content-type', 'application/pdf');
    }