|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| getFile ($class) | |
| getFilePath ($class) | |
Static Public Member Functions | |
| static | addIncludePath ($path, $prepend=true) |
Contains logic for finding class filepaths based on include_path configuration.
Definition at line 11 of file FileResolver.php.
|
static |
Add specified path(s) to the current include_path
| string | array | $path | |
| bool | $prepend | Whether to prepend paths or to append them |
Definition at line 43 of file FileResolver.php.
| getFile | ( | $class | ) |
Find a file in include path. Include path is set in composer.json or with set_include_path()
| string | $class |
Definition at line 19 of file FileResolver.php.
| getFilePath | ( | $class | ) |
Get relative file path for specified class
| string | $class |
Definition at line 31 of file FileResolver.php.