Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
freyo committed Apr 3, 2018
1 parent f9b2cad commit b425fe8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ int $flysystem->getSize('file.md');

string $flysystem->getUrl('file.md');

string $flysystem->getTemporaryUrl('file.md', date_create('2018-12-31 18:12:31'));

string $flysystem->getMimetype('file.md');

int $flysystem->getTimestamp('file.md');
Expand Down Expand Up @@ -187,6 +189,7 @@ $contents = $disk->read('folder/my_file.txt');

// get url
$url = $disk->url('new/file1.jpg');
$temporaryUrl = $disk->temporaryUrl('new/file1.jpg', Carbon::now()->addMinutes(5));

// create a file from remote(plugin support)
$disk->putRemoteFile('avatars/1', 'http://example.org/avatar.jpg');
Expand Down

0 comments on commit b425fe8

Please sign in to comment.