Yosymfony\Spress\Core\Configuration\Configuration::__construct PHP Method

__construct() public method

Constructor. By default the configuration filename is "config.yml" and the template for environment filename is "config_:env.yml".
public __construct ( Yosymfony\ConfigLoader\Config $configLoader, string $defaultConfigFilename )
$configLoader Yosymfony\ConfigLoader\Config
$defaultConfigFilename string Path to filename with defatul configuration
    public function __construct(Config $configLoader, $defaultConfigFilename)
    {
        $this->configLoader = $configLoader;
        $this->defaultConfigFilename = $defaultConfigFilename;
        $this->configFilename = 'config.yml';
        $this->templateEnvFilename = 'config_:env.yml';
        $this->resolver = $this->getConfigurationResolver();
    }