File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -311,15 +311,15 @@ The ``file.txt`` file contains ``Hello World`` now.
311
311
contents at the end of some file::
312
312
313
313
$filesystem->appendToFile('logs.txt', 'Email sent to user@example.com');
314
- // with the third argument set to true you can lock the file when writing to it.
314
+ // the third argument tells whether the file should be locked when writing to it
315
315
$filesystem->appendToFile('logs.txt', 'Email sent to user@example.com', true);
316
316
317
317
If either the file or its containing directory doesn't exist, this method
318
318
creates them before appending the contents.
319
319
320
320
.. versionadded :: 5.4
321
321
322
- The third argument `` $lock `` was introduced in Symfony 5.4.
322
+ The third argument of `` appendToFile() `` was introduced in Symfony 5.4.
323
323
324
324
Error Handling
325
325
--------------
You can’t perform that action at this time.
0 commit comments