/** * Delete attachments * * @param array $attachments Array of attachments */ protected function delete_attachments(array $attachments) { $this->attachments->store($attachments)->delete_all(); }