public function setFilename($filename, $content_disposition_type = 'attachement')
    {
        $this->params['content-disposition-filename'] = $filename;
        $this->setContentDispositionType($content_disposition_type);

        return $this;
    }
public function setFilename($filename, $content_disposition_type = 'attachement')
    {
        $this->params['content-disposition-filename'] = $filename;
        $this->setContentDispositionType($content_disposition_type);

        return $this;
    }
public function setFilename ( $ filename , $ content_disposition_type = 'attachement' ) { $ this -> params [ 'content-disposition-filename' ] = $ filename ; $ this -> setContentDispositionType ( $ content_disposition_type ) ; return $ this ; }
Set the content disposition filename and type.

@param string $filename                 filename when downloading
@param string $content_disposition_type by default attachment

@return SimpleHeaders
Set the content disposition filename and type .