Méthode | Description | |
---|---|---|
__construct ( Yosymfony\ConfigLoader\Config $configLoader, string $defaultConfigFilename ) | Constructor. By default the configuration filename is "config.yml" and the template for environment filename is "config_:env.yml". | |
loadConfiguration ( $sitePath, $envName = null ) | ||
setConfigFilename ( string $filename ) | Sets the configuration filename. e.g: "config.yml". | |
setTemplateEnvFilename ( string $templateFilename ) | Sets the template for filename related with environment configuration. |
Méthode | Description | |
---|---|---|
getConfigEnvFilename ( $env ) | ||
getConfigurationResolver ( ) | ||
isSpressSite ( $sitePath ) | ||
loadDefaultConfiguration ( ) | ||
loadEnvironmentConfiguration ( $sitePath, $env ) |
public __construct ( Yosymfony\ConfigLoader\Config $configLoader, string $defaultConfigFilename ) | ||
$configLoader | Yosymfony\ConfigLoader\Config | |
$defaultConfigFilename | string | Path to filename with defatul configuration |
public setConfigFilename ( string $filename ) | ||
$filename | string |
public setTemplateEnvFilename ( string $templateFilename ) | ||
$templateFilename | string |