Skip to content

Refactor the Storage system so using an Orphanage won't lead to redundant code #2

@sheeep

Description

@sheeep

Currently both classes implementing StorageInterface and classes implementing OrphanageInterface implement their own access points for uploading and deleting files.
It should be considered to refactor this way so we'd have an abstract parent-class for accessing the filesystem (or orphanage).

Maybe it is possible to inject either the Orphanage or the Gaufrette filesystem depending on the configuration value use_orphanage.

Be sure to also fix #1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions