Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin Storage Interface #1568

Closed
nadar opened this issue Oct 24, 2017 · 0 comments
Closed

Admin Storage Interface #1568

nadar opened this issue Oct 24, 2017 · 0 comments
Assignees
Milestone

Comments

@nadar
Copy link
Member

nadar commented Oct 24, 2017

In order to have differente storage provides:

  • S3
  • Local Filesystem
  • others ...

The following methods would be required:

  • internalSave()
  • internalDelete() (?)
  • internalReplace() (?)
  • getSource
  • getSorceAbsolute
  • getServerPath (mabye rename?) getStoragePath()

Add new StorageContainer property to define the storage provider:

  • $provider = 'luya\admin\storage\LocalFilesystem`

which then implements the new Storage Interface. Use the local filesystem as default provider in order to provide backwarts compatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant