File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -193,6 +193,8 @@ of a single file or directory::
193
193
$filesystem->rename('/tmp/processed_video.ogg', '/path/to/store/video_647.ogg');
194
194
// renames a directory
195
195
$filesystem->rename('/tmp/files', '/path/to/store/files');
196
+ // if the target already exists, a third boolean argument is available to overwrite.
197
+ $filesystem->rename('/tmp/processed_video2.ogg', '/path/to/store/video_647.ogg', true);
196
198
197
199
``symlink ``
198
200
~~~~~~~~~~~
Original file line number Diff line number Diff line change @@ -47,7 +47,9 @@ recognizes several strategies:
47
47
grant access if there are more voters granting access than there are denying;
48
48
49
49
``unanimous ``
50
- only grant access if none of the voters has denied access;
50
+ only grant access if none of the voters has denied access. If all voters
51
+ abstained from voting, the decision is based on the ``allow_if_all_abstain ``
52
+ config option (which defaults to ``false ``).
51
53
52
54
Usage of the available options in detail::
53
55
You can’t perform that action at this time.
0 commit comments