Свойство | Type | Description | |
---|---|---|---|
$_configArray | array | ||
$_customConfigFilename | string | ||
$_distConfig | array | Cache | |
$_initialConfig | array | Config passed in the constructor | |
$_isPharMode | boolean | ||
$_output | Symfony\Component\Console\Output\OutputInterface | ||
$_pluginConfig | array | Cache | |
$_projectConfig | array | Cache | |
$_systemConfig | array | Cache | |
$_userConfig | array | Cache |
Méthode | Description | |
---|---|---|
__construct ( array $config, boolean $isPharMode, Symfony\Component\Console\Output\OutputInterface $output ) | Load config If $magentoRootFolder is null, only non-project config is loaded | |
getConfigurationLoaderDir ( ) : string | ||
getPartialConfig ( boolean $loadExternalConfig = true ) : array | ||
getVendorDir ( ) : string | ||
loadPluginConfig ( array $config, string $magentoRootFolder ) : array | Load config from all installed bundles | |
loadProjectConfig ( string $magentoRootFolder, string $magerunStopFileFolder, array $config ) : array | MAGENTO_ROOT/app/etc/n98-magerun.yaml | |
loadStageTwo ( string $magentoRootFolder, boolean $loadExternalConfig = true, string $magerunStopFileFolder = '' ) | ||
loadSystemConfig ( array $config ) : array | Check if there is a global config file in /etc folder | |
loadUserConfig ( array $config, string $magentoRootFolder = null ) : array | Check if there is a user config file. ~/.n98-magerun.yaml | |
toArray ( ) : array |
Méthode | Description | |
---|---|---|
loadDistConfig ( array $initConfig ) : array | ||
registerPluginConfigFile ( string $magentoRootFolder, Symfony\Component\Finder\SplFileInfo $file ) | Loads a plugin config file and merges it to plugin config |
Méthode | Description | |
---|---|---|
log ( string $message ) | ||
logDebug ( string $message ) |
public __construct ( array $config, boolean $isPharMode, Symfony\Component\Console\Output\OutputInterface $output ) | ||
$config | array | |
$isPharMode | boolean | |
$output | Symfony\Component\Console\Output\OutputInterface |
public getConfigurationLoaderDir ( ) : string | ||
Résultat | string |
public getPartialConfig ( boolean $loadExternalConfig = true ) : array | ||
$loadExternalConfig | boolean | |
Résultat | array |
protected loadDistConfig ( array $initConfig ) : array | ||
$initConfig | array | |
Résultat | array |
public loadSystemConfig ( array $config ) : array | ||
$config | array | |
Résultat | array |
protected registerPluginConfigFile ( string $magentoRootFolder, Symfony\Component\Finder\SplFileInfo $file ) | ||
$magentoRootFolder | string | |
$file | Symfony\Component\Finder\SplFileInfo |
protected string $_customConfigFilename | ||
Résultat | string |
protected array $_initialConfig | ||
Résultat | array |
protected OutputInterface,Symfony\Component\Console\Output $_output | ||
Résultat | Symfony\Component\Console\Output\OutputInterface |