src/lib/Photo.php
public function delete()
    {
        $disk = Storage::disk(config('mustard.storage.disk', 'local'));

        $disk->delete($this->getPath());
        $disk->delete($this->getSmallPath());
        $disk->delete($this->getLargePath());

        parent::delete();
    }
public function delete()
    {
        $disk = Storage::disk(config('mustard.storage.disk', 'local'));

        $disk->delete($this->getPath());
        $disk->delete($this->getSmallPath());
        $disk->delete($this->getLargePath());

        parent::delete();
    }
public function delete ( ) { $ disk = Storage :: disk ( config ( 'mustard.storage.disk' , 'local' ) ) ; $ disk -> delete ( $ this -> getPath ( ) ) ; $ disk -> delete ( $ this -> getSmallPath ( ) ) ; $ disk -> delete ( $ this -> getLargePath ( ) ) ; parent :: delete ( ) ; }
Delete the record and data from the filesystem.

@return void
Delete the record and data from the filesystem .