Thanks to visit codestin.com
Credit goes to github.com

Skip to content

RFC: FileSystem::getContent #47215

Closed
@VincentLanglet

Description

@VincentLanglet

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions