1 | <?php |
||
20 | class Filesystem extends BaseFilesystem |
||
21 | { |
||
22 | /** |
||
23 | * Read a file |
||
24 | * |
||
25 | * @param string $filename |
||
26 | * |
||
27 | * @return string |
||
28 | */ |
||
29 | public function read($filename) |
||
37 | |||
38 | /** |
||
39 | * Write a file |
||
40 | * |
||
41 | * @param string $filename The file to be written to |
||
42 | * @param string $content The data to write into the file |
||
43 | * @param int $mode The file mode (octal) |
||
44 | * |
||
45 | * @throws \Symfony\Component\Filesystem\Exception\IOException If the file cannot be written to |
||
46 | */ |
||
47 | public function write($filename, $content, $mode = 0644) |
||
51 | } |
||
52 |