1 | <?php |
||
19 | class SymlinkFilesystem extends Filesystem |
||
20 | { |
||
21 | /** |
||
22 | * Create a symlink |
||
23 | * |
||
24 | * @param string $sourcePath |
||
25 | * @param string $symlinkPath |
||
26 | * |
||
27 | * @return bool |
||
28 | */ |
||
29 | public function ensureSymlinkExists($sourcePath, $symlinkPath) |
||
39 | |||
40 | /** |
||
41 | * @param string $symlinkPath |
||
42 | * |
||
43 | * @return bool |
||
44 | * |
||
45 | * @throws \RuntimeException |
||
46 | */ |
||
47 | public function removeSymlink($symlinkPath) |
||
61 | |||
62 | /** |
||
63 | * @param string $directoryPath |
||
64 | * |
||
65 | * @return bool |
||
66 | * |
||
67 | * @throws \RuntimeException |
||
68 | */ |
||
69 | public function removeEmptyDirectory($directoryPath) |
||
83 | } |
||
84 |