Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct ($moduleDir=null, $translations=array(), $pathSuffix) | |
setModuleDir ($moduleDir) | |
getModuleDir () | |
setFile ($file) | |
getFile () | |
getModmanFile () | |
getMappings () | |
![]() | |
__construct ($translations, $pathSuffix) | |
translatePathMappings ($mappings) | |
Protected Member Functions | |
_parseMappings () | |
![]() | |
createPrefixVariants ($translations) | |
Protected Attributes | |
$_moduleDir = null | |
$_file = null | |
![]() | |
$pathPrefixVariants = array('', './') | |
$pathPrefixTranslations = array() | |
$pathSuffix | |
Parsers modman files
Definition at line 11 of file ModmanParser.php.
__construct | ( | $moduleDir = null , |
|
$translations = array() , |
|||
$pathSuffix | |||
) |
Constructor
string | $moduleDir |
Definition at line 28 of file ModmanParser.php.
|
protected |
Definition at line 115 of file ModmanParser.php.
getFile | ( | ) |
getMappings | ( | ) |
Implements Parser.
Definition at line 98 of file ModmanParser.php.
getModmanFile | ( | ) |
Definition at line 85 of file ModmanParser.php.
getModuleDir | ( | ) |
Definition at line 56 of file ModmanParser.php.
setFile | ( | $file | ) |
string | SplFileObject | $file |
Definition at line 65 of file ModmanParser.php.
setModuleDir | ( | $moduleDir | ) |
Sets the module directory where to search for the modman file
string | $moduleDir |
Definition at line 42 of file ModmanParser.php.
|
protected |
Definition at line 21 of file ModmanParser.php.
|
protected |
Definition at line 16 of file ModmanParser.php.