File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -32,24 +32,12 @@ endpoint for filesystem operations::
32
32
echo "An error occurred while creating your directory at ".$exception->getPath();
33
33
}
34
34
35
- .. note ::
36
-
37
- Methods :method: `Symfony\\ Component\\ Filesystem\\ Filesystem::mkdir `,
38
- :method: `Symfony\\ Component\\ Filesystem\\ Filesystem::exists `,
39
- :method: `Symfony\\ Component\\ Filesystem\\ Filesystem::touch `,
40
- :method: `Symfony\\ Component\\ Filesystem\\ Filesystem::remove `,
41
- :method: `Symfony\\ Component\\ Filesystem\\ Filesystem::chmod `,
42
- :method: `Symfony\\ Component\\ Filesystem\\ Filesystem::chown ` and
43
- :method: `Symfony\\ Component\\ Filesystem\\ Filesystem::chgrp ` can receive a
44
- string, an array or any object implementing :phpclass: `Traversable ` as
45
- the target argument.
46
-
47
35
``mkdir ``
48
36
~~~~~~~~~
49
37
50
38
:method: `Symfony\\ Component\\ Filesystem\\ Filesystem::mkdir ` creates a directory recursively.
51
39
On POSIX filesystems, directories are created with a default mode value
52
- `0777 `. You can use the second argument to set your own mode::
40
+ `` 0777 ` `. You can use the second argument to set your own mode::
53
41
54
42
$filesystem->mkdir('/tmp/photos', 0700);
55
43
You can’t perform that action at this time.
0 commit comments