Метод |
Описание |
|
__construct ( string $configFilename, string $magentoRootFolder ) |
ConfigLocator constructor. |
|
getProjectConfigFile ( ) : ConfigFile | null |
Obtain the project-config-file, it is placed in the magento app/etc dir, e.g. app/etc/n98-magerun2.yaml |
|
getStopFileConfigFile ( string $magerunStopFileFolder ) : ConfigFile | null |
Obtain the (optional) stop-file-config-file, it is placed in the folder of the stop-file, always
prefixed with a dot: stop-file-folder/.n98-magerun2.yaml |
|
getUserConfigFile ( ) : ConfigFile | null |
Obtain the user-config-file, it is placed in the homedir, e.g. ~/.n98-magerun2.yaml |
|