public function beforeDelete(AttachableInterface $instance)
    {
        $this->instance = $instance;

        if ( ! $this->config->preserveFiles()) {
            $this->clear();
        }
    }
public function beforeDelete(AttachableInterface $instance)
    {
        $this->instance = $instance;

        if ( ! $this->config->preserveFiles()) {
            $this->clear();
        }
    }
public function beforeDelete ( AttachableInterface $ instance ) { $ this -> instance = $ instance ; if ( ! $ this -> config -> preserveFiles ( ) ) { $ this -> clear ( ) ; } }
Queues up this attachments files for deletion.

@param AttachableInterface $instance
Queues up this attachments files for deletion .