lib/classes/Swift/Mime/Attachment.php
public function setDisposition($disposition)
    {
        if (!$this->setHeaderFieldModel('Content-Disposition', $disposition)) {
            $this->getHeaders()->addParameterizedHeader('Content-Disposition', $disposition);
        }

        return $this;
    }
public function setDisposition($disposition)
    {
        if (!$this->setHeaderFieldModel('Content-Disposition', $disposition)) {
            $this->getHeaders()->addParameterizedHeader('Content-Disposition', $disposition);
        }

        return $this;
    }
public function setDisposition ( $ disposition ) { if ( ! $ this -> setHeaderFieldModel ( 'Content-Disposition' , $ disposition ) ) { $ this -> getHeaders ( ) -> addParameterizedHeader ( 'Content-Disposition' , $ disposition ) ; } return $ this ; }
Set the Content-Disposition of this attachment.

@param string $disposition

@return $this
Set the Content - Disposition of this attachment .