public function download($fileName, $contentType, $contents)
    {
        $body = $this->builder->messages()->stringStream($contents);
        return $this->downloadResponse($fileName, $contentType, $body);
    }
public function download($fileName, $contentType, $contents)
    {
        $body = $this->builder->messages()->stringStream($contents);
        return $this->downloadResponse($fileName, $contentType, $body);
    }
public function download ( $ fileName , $ contentType , $ contents ) { $ body = $ this -> builder -> messages ( ) -> stringStream ( $ contents ) ; return $ this -> downloadResponse ( $ fileName , $ contentType , $ body ) ; }
Download of contents as file
@param string $fileName
@param string $contentType
@param string $contents
@return Responses\Response
Download of contents as file