__construct(string $storageFolderRoot = '')
The storage folder is a file system location where we store all our required application data. It is organized as a standardized set of files and folders which are used to save the most commonly required application data, just like logs, temporary files, executable binaries, extra libraries, cached data, custom files, application data, etc..
By defining a standard organization for all this information, we improve the structure and cleanliness of our project. And a faster learning curve when switching between projects.
The full file system path to the root of the folder that we want to use as the storage folder. all the required structure of folders and files must exist or this class will throw several errors.
getPathToCache() : string
getPathToCustom() : string
getPathToData() : string
getPathToExecutable() : string
getPathToRoot() : string
If any element is missing or incorrect, an exception with the error details will be thrown.