src/Uploads/Image.php
public function remove($imageName)
    {
        list ($this->name) = explode('.', $imageName);
        
        if (Storage::disk('s3')->has($this->getDirBeforeAlbum())) {
            Storage::delete($this->getDirBeforeAlbum());
        }
        
        if (Storage::disk('s3')->has($this->getFullPathThumbnail())) {
            Storage::delete($this->getFullPathThumbnail());
        }
    }
public function remove($imageName)
    {
        list ($this->name) = explode('.', $imageName);
        
        if (Storage::disk('s3')->has($this->getDirBeforeAlbum())) {
            Storage::delete($this->getDirBeforeAlbum());
        }
        
        if (Storage::disk('s3')->has($this->getFullPathThumbnail())) {
            Storage::delete($this->getFullPathThumbnail());
        }
    }
public function remove ( $ imageName ) { list ( $ this -> name ) = explode ( '.' , $ imageName ) ; if ( Storage :: disk ( 's3' ) -> has ( $ this -> getDirBeforeAlbum ( ) ) ) { Storage :: delete ( $ this -> getDirBeforeAlbum ( ) ) ; } if ( Storage :: disk ( 's3' ) -> has ( $ this -> getFullPathThumbnail ( ) ) ) { Storage :: delete ( $ this -> getFullPathThumbnail ( ) ) ; } }
Remove image in server (upload)

@return void
Remove image in server ( upload )