Storage::put() in Your Use Case Is a Leak: Put Files Behind a Port in Laravel
DEV Community
Storage::put() in Your Use Case Is a Leak: Put Files Behind a Port in Laravel
A DocumentStore port, a Flysystem adapter, an in-memory fake, and one contract test they both pass. Moving from local disk to S3 becomes a config change.
0 comments
No comments yet.