public function setAttachmentOptions(array $settings)
    {
        $this->attachmentOptions = array_merge(
            $this->defaultAttachmentOptions(),
            $this->parseAttachmentOptions($settings)
        );

        return $this;
    }
public function setAttachmentOptions(array $settings)
    {
        $this->attachmentOptions = array_merge(
            $this->defaultAttachmentOptions(),
            $this->parseAttachmentOptions($settings)
        );

        return $this;
    }
public function setAttachmentOptions ( array $ settings ) { $ this -> attachmentOptions = array_merge ( $ this -> defaultAttachmentOptions ( ) , $ this -> parseAttachmentOptions ( $ settings ) ) ; return $ this ; }
Set the attachment widget settings.

@param array $settings Attachments options array.
@return self
Set the attachment widget settings .