Piwik\Config::__construct PHP Method

__construct() public method

public __construct ( Piwik\Application\Kernel\GlobalSettingsProvider $settings )
$settings Piwik\Application\Kernel\GlobalSettingsProvider
    public function __construct(GlobalSettingsProvider $settings)
    {
        $this->settings = $settings;
    }

Usage Example

Example #1
0
 public function __construct(GlobalSettingsProvider $provider, TestingEnvironmentVariables $testingEnvironment, $allowSave = false, $doSetTestEnvironment = true)
 {
     parent::__construct($provider);
     $this->allowSave = $allowSave;
     $this->doSetTestEnvironment = $doSetTestEnvironment;
     $this->reload();
     $this->setFromTestEnvironment($testingEnvironment);
 }
All Usage Examples Of Piwik\Config::__construct