Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct ($root, array $config=[]) | |
![]() | |
__construct ($root, array $config=[]) | |
getRoot () | |
getPath ($code) | |
getUrlPath ($code) | |
Static Public Member Functions | |
static | getDefaultConfig () |
![]() | |
static | getDefaultConfig () |
static | validate ($config) |
Data Fields | |
const | ROOT = 'base' |
const | APP = 'app' |
const | CONFIG = 'etc' |
const | LIB_INTERNAL = 'lib_internal' |
const | LIB_WEB = 'lib_web' |
const | PUB = 'pub' |
const | MEDIA = 'media' |
const | STATIC_VIEW = 'static' |
const | VAR_DIR = 'var' |
const | TMP = 'tmp' |
const | CACHE = 'cache' |
const | LOG = 'log' |
const | SESSION = 'session' |
const | SETUP = 'setup' |
const | DI = 'di' |
const | GENERATION = 'generation' |
const | UPLOAD = 'upload' |
const | COMPOSER_HOME = 'composer_home' |
const | TMP_MATERIALIZATION_DIR = 'view_preprocessed' |
const | TEMPLATE_MINIFICATION_DIR = 'html' |
const | GENERATED = 'generated' |
const | GENERATED_CODE = 'code' |
const | GENERATED_METADATA = 'metadata' |
![]() | |
const | PATH = 'path' |
const | URL_PATH = 'uri' |
const | SYS_TMP = 'sys_tmp' |
Additional Inherited Members | |
![]() | |
prependRoot ($path) | |
isAbsolute ($path) | |
A Magento application specific list of directories
Definition at line 13 of file DirectoryList.php.
__construct | ( | $root, | |
array | $config = [] |
||
) |
|
static |
const APP = 'app' |
Most of entire application
Definition at line 23 of file DirectoryList.php.
const CACHE = 'cache' |
File system caching directory (if file system caching is used)
Definition at line 68 of file DirectoryList.php.
const COMPOSER_HOME = 'composer_home' |
Directory to store composer related files (config, cache etc.) in case if composer runs by Magento Application
Definition at line 110 of file DirectoryList.php.
const CONFIG = 'etc' |
Initial configuration of the application
Definition at line 28 of file DirectoryList.php.
const DI = 'di' |
Dependency injection related file directory
Definition at line 92 of file DirectoryList.php.
const GENERATED = 'generated' |
Directory name for generated data.
Definition at line 126 of file DirectoryList.php.
const GENERATED_CODE = 'code' |
Relative directory key for generated code
Definition at line 131 of file DirectoryList.php.
const GENERATED_METADATA = 'metadata' |
Relative directory key for generated metadata
Definition at line 136 of file DirectoryList.php.
const GENERATION = 'generation' |
Relative directory key for generated code
Definition at line 100 of file DirectoryList.php.
const LIB_INTERNAL = 'lib_internal' |
Libraries or third-party components
Definition at line 33 of file DirectoryList.php.
const LIB_WEB = 'lib_web' |
Libraries/components that need to be accessible publicly through web-server (such as various DHTML components)
Definition at line 38 of file DirectoryList.php.
const LOG = 'log' |
Logs of system messages and errors
Definition at line 73 of file DirectoryList.php.
const MEDIA = 'media' |
Storage of files entered or generated by the end-user
Definition at line 48 of file DirectoryList.php.
const PUB = 'pub' |
\Directory within document root of a web-server to access static view files publicly
Definition at line 43 of file DirectoryList.php.
const ROOT = 'base' |
Code base root
Definition at line 18 of file DirectoryList.php.
const SESSION = 'session' |
File system session directory (if file system session storage is used)
Definition at line 78 of file DirectoryList.php.
const SETUP = 'setup' |
Directory for Setup application
Definition at line 83 of file DirectoryList.php.
const STATIC_VIEW = 'static' |
Storage of static view files that are needed on HTML-pages, emails or similar content
Definition at line 53 of file DirectoryList.php.
const TEMPLATE_MINIFICATION_DIR = 'html' |
A suffix for temporary materialization directory where minified templates will be written (if necessary)
Definition at line 121 of file DirectoryList.php.
const TMP = 'tmp' |
Temporary files
Definition at line 63 of file DirectoryList.php.
const TMP_MATERIALIZATION_DIR = 'view_preprocessed' |
A suffix for temporary materialization directory where pre-processed files will be written (if necessary)
Definition at line 115 of file DirectoryList.php.
const UPLOAD = 'upload' |
Temporary directory for uploading files by end-user
Definition at line 105 of file DirectoryList.php.
const VAR_DIR = 'var' |
Various files generated by the system in runtime
Definition at line 58 of file DirectoryList.php.