![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/framework/Filesystem/ |
The **\Magento\Framework\Filesystem** library provides interface for file system operations, such as read, write, list directories, etc. The library includes File, HTTP, HTTPS and Zlib drivers. **\Magento\Framework\Filesystem\DirectoryList** class defines list of directories available in the application. The library supports only system temporary directory, while application classes may extend the list in order to define directories used in the application. Paths to pre-defined directories can be customized by configuration, while the list is finite in runtime. Use directory codes represented by the class's constants (or its descendants) to operate with the file system objects.