Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #30 from regiszanandrea/master
Browse files Browse the repository at this point in the history
Update documentation to show how to set the visibility of a file
  • Loading branch information
nicja authored Oct 31, 2018
2 parents ea9a428 + df9fa36 commit 570560d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,9 @@ $disk->move('old/file1.jpg', 'new/file1.jpg');
// get url to file
$url = $disk->url('folder/my_file.txt');

// Set the visibility of file to public
$disk->setVisibility('folder/my_file.txt', 'public');


// See https://laravel.com/docs/5.3/filesystem for full list of available functionality
```

0 comments on commit 570560d

Please sign in to comment.