Skip to content

[Config] FileResource vs DirectoryResource inconsistent #15946

Closed
@Tobion

Description

@Tobion
  • Why does DirectoryResource not call realpath but FileResource does?
  • FileResource::getResource returns false if resource doesn't exit but directory resource doesn't care
  • I propose to throw an exception in the constructor of both resources if they don't exist

Metadata

Metadata

Assignees

No one assigned

    Labels

    ConfigEnhancementGood first issueIdeal for your first contribution! (some Symfony experience may be required)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions