|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Data Structures | |
| class | FileResolverTest |
| class | FilesystemTest |
Public Member Functions | |
| __construct (\Magento\Framework\Filesystem\DirectoryList $directoryList, \Magento\Framework\Filesystem\Directory\ReadFactory $readFactory, \Magento\Framework\Filesystem\Directory\WriteFactory $writeFactory) | |
| getDirectoryRead ($directoryCode, $driverCode=DriverPool::FILE) | |
| getDirectoryReadByPath ($path, $driverCode=DriverPool::FILE) | |
| getDirectoryWrite ($directoryCode, $driverCode=DriverPool::FILE) | |
| getUri ($code) | |
Protected Member Functions | |
| getDirPath ($code) | |
Protected Attributes | |
| $directoryList | |
| $readFactory | |
| $writeFactory | |
| $readInstances = [] | |
| $writeInstances = [] | |
| __construct | ( | \Magento\Framework\Filesystem\DirectoryList | $directoryList, |
| \Magento\Framework\Filesystem\Directory\ReadFactory | $readFactory, | ||
| \Magento\Framework\Filesystem\Directory\WriteFactory | $writeFactory | ||
| ) |
| Filesystem\DirectoryList | $directoryList | |
| Filesystem\Directory\ReadFactory | $readFactory | |
| Filesystem\Directory\WriteFactory | $writeFactory |
Definition at line 48 of file Filesystem.php.
| getDirectoryRead | ( | $directoryCode, | |
$driverCode = DriverPool::FILE |
|||
| ) |
Create an instance of directory with read permissions
| string | $directoryCode | |
| string | $driverCode |
Definition at line 65 of file Filesystem.php.
| getDirectoryReadByPath | ( | $path, | |
$driverCode = DriverPool::FILE |
|||
| ) |
Create an instance of directory with read permissions by path.
| string | $path | |
| string | $driverCode |
Definition at line 83 of file Filesystem.php.
| getDirectoryWrite | ( | $directoryCode, | |
$driverCode = DriverPool::FILE |
|||
| ) |
Create an instance of directory with write permissions
| string | $directoryCode | |
| string | $driverCode |
Definition at line 96 of file Filesystem.php.
|
protected |
Gets configuration of a directory
| string | $code |
Definition at line 111 of file Filesystem.php.
| getUri | ( | $code | ) |
Retrieve uri for given code
| string | $code |
Definition at line 122 of file Filesystem.php.
|
protected |
Definition at line 21 of file Filesystem.php.
|
protected |
Definition at line 26 of file Filesystem.php.
|
protected |
Definition at line 36 of file Filesystem.php.
|
protected |
Definition at line 31 of file Filesystem.php.
|
protected |
Definition at line 41 of file Filesystem.php.