burzum / cakephp-file-storage

Abstract file storage and upload plugin for CakePHP. Write to local disk, FTP, S3, Dropbox and more through a single interface. It's not just yet another uploader but a complete storage solution.
MIT License
197 stars 84 forks source link

Allow int primary keys to work. #210

Closed dereuromark closed 4 years ago

dereuromark commented 4 years ago

I still dont like the method naming withUuid() as withId() and without the constraint on string vs int would be cleaner IMO for cake context.

But I guess with this one cast it seems to work fine as compromise.