media-manager-improvement
media-manager-improvement copied to clipboard
Refactor the getFileInformation method to an interface methods
Currently we have getFiles and getFile methods which requires returning a stdClass object or objects. But when people dealing with this they can miss many parts of that because of not paying attention to the API Docs, so we need to break this apart to small small methods like getFileName, getFileSize, getCreationDate, getPath and pack it in a interface like FileInfoInterface, so we can ask plugin developers to use this interface instead of a stdClass, this will make Media Manager API more clean an easy to use