8000 Added README · lsmith77/symfony@b26ae4a · GitHub
[go: up one dir, main page]

Skip to 8000 content

Commit b26ae4a

Browse files
committed
Added README
1 parent fbe9507 commit b26ae4a

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Filesystem Component
2+
====================
3+
4+
Filesystem provides basic utility to manipulate the file system:
5+
6+
use Symfony\Component\Filesystem\Filesystem;
7+
8+
$filesystem = new Filesystem();
9+
10+
$filesystem->copy($originFile, $targetFile, $override = false);
11+
12+
$filesystem->mkdir($dirs, $mode = 0777);
13+
14+
$filesystem->touch($files);
15+
16+
$filesystem->remove($files);
17+
18+
$filesystem->chmod($files, $mode, $umask = 0000);
19+
20+
$filesystem->rename($origin, $target);
21+
22+
$filesystem->symlink($originDir, $targetDir, $copyOnWindows = false);
23+
24+
$filesystem->makePathRelative($endPath, $startPath);
25+
26+
$filesystem->mirror($originDir, $targetDir, \Traversable $iterator = null, $options = array());
27+
28+
$filesystem->isAbsolutePath($file);
29+

0 commit comments

Comments
 (0)
0