Closed
Description
Description
Currently the file system allows to move/create/remove file but also to write content or to append content in a file.
But there is no method to get the method from the file.
Even if the implementation of the method might be easy, what do you think about adding a getContent(string $name)
method in order to allow doing every content/file manipulation with the symfony methods.
This could also be helpful in test, allowing to mock the file_get_content
method.
Example
No response