src/MediaUploader.php
private function deleteExistingFile(Media $model)
    {
        $this->filesystem->disk($model->disk)->delete($model->getDiskPath());
    }
private function deleteExistingFile(Media $model)
    {
        $this->filesystem->disk($model->disk)->delete($model->getDiskPath());
    }
private function deleteExistingFile ( Media $ model ) { $ this -> filesystem -> disk ( $ model -> disk ) -> delete ( $ model -> getDiskPath ( ) ) ; }
Delete the file on disk.
@param  \Plank\Mediable\Media  $model
@return void
Delete the file on disk .