utopia-php / storage

Lite & fast micro PHP storage library that is **easy to use**.
https://appwrite.io
MIT License
28 stars 62 forks source link

feat: add get type method #70

Closed christyjacob4 closed 1 year ago

christyjacob4 commented 1 year ago

Currently there is no way to get the type of a device since the device class does not expose any methods for it.

The existing getName function does not return a constant string that we can use in the consuming code. Hence we introduce a new method.