public function downloadFile($fileName, $contentType, $file)
    {
        $body = $this->builder->messages()->stream($file);
        return $this->downloadResponse($fileName, $contentType, $body);
    }
public function downloadFile($fileName, $contentType, $file)
    {
        $body = $this->builder->messages()->stream($file);
        return $this->downloadResponse($fileName, $contentType, $body);
    }
public function downloadFile ( $ fileName , $ contentType , $ file ) { $ body = $ this -> builder -> messages ( ) -> stream ( $ file ) ; return $ this -> downloadResponse ( $ fileName , $ contentType , $ body ) ; }
Download of a local file
@param string $fileName
@param string $contentType
@param resource $file
@return Responses\Response
Download of a local file