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

AdapterFactory improvements #85

Open
3 tasks
kbond opened this issue Feb 15, 2023 · 0 comments
Open
3 tasks

AdapterFactory improvements #85

kbond opened this issue Feb 15, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@kbond
Copy link
Member

kbond commented Feb 15, 2023

  • use zenstruck/dsn to make extensible
  • use zenstruck/uri to aid in parsing DSNs
  • Add FileFactory
    class FileFactory
    {
        public function file(string $dsn): File;
        public function image(string $dsn): Image;
    }
@kbond kbond added the enhancement New feature or request label Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant