84
84
:method: `Symfony\\ Component\\ Filesystem\\ Filesystem::copy ` is used to copy
85
85
files. If the target already exists, the file is copied only if the source
86
86
modification date is later than the target. This behavior can be overridden by
87
- the third boolean argument::
87
+ the third Boolean argument::
88
88
89
89
// works only if image-ICC has been modified after image.jpg
90
90
$fs->copy('image-ICC.jpg', 'image.jpg');
@@ -115,7 +115,7 @@ chown
115
115
~~~~~
116
116
117
117
:method: `Symfony\\ Component\\ Filesystem\\ Filesystem::chown ` is used to change
118
- the owner of a file. The third argument is a boolean recursive option::
118
+ the owner of a file. The third argument is a Boolean recursive option::
119
119
120
120
// set the owner of the lolcat video to www-data
121
121
$fs->chown('lolcat.mp4', 'www-data');
@@ -131,7 +131,7 @@ chgrp
131
131
~~~~~
132
132
133
133
:method: `Symfony\\ Component\\ Filesystem\\ Filesystem::chgrp ` is used to change
134
- the group of a file. The third argument is a boolean recursive option::
134
+ the group of a file. The third argument is a Boolean recursive option::
135
135
136
136
// set the group of the lolcat video to nginx
137
137
$fs->chgrp('lolcat.mp4', 'nginx');
@@ -147,7 +147,7 @@ chmod
147
147
~~~~~
148
148
149
149
:method: `Symfony\\ Component\\ Filesystem\\ Filesystem::chmod ` is used to change
150
- the mode of a file. The fourth argument is a boolean recursive option::
150
+ the mode of a file. The fourth argument is a Boolean recursive option::
151
151
152
152
// set the mode of the video to 0600
153
153
$fs->chmod('video.ogg', 0600);
@@ -188,7 +188,7 @@ symlink
188
188
189
189
:method: `Symfony\\ Component\\ Filesystem\\ Filesystem::symlink ` creates a
190
190
symbolic link from the target to the destination. If the filesystem does not
191
- support symbolic links, a third boolean argument is available::
191
+ support symbolic links, a third Boolean argument is available::
192
192
193
193
// create a symbolic link
194
194
$fs->symlink('/path/to/source', '/path/to/destination');
@@ -260,7 +260,7 @@ thrown.
260
260
261
261
.. note ::
262
262
263
- Prior to version 2.1, ``mkdir `` returned a boolean and did not throw
263
+ Prior to version 2.1, ``mkdir `` returned a Boolean and did not throw
264
264
exceptions. As of 2.1, a
265
265
:class: `Symfony\\ Component\\ Filesystem\\ Exception\\ IOException ` is thrown
266
266
if a directory creation fails.
0 commit comments