Piwik\Settings\Plugin\SystemConfigSetting::__construct PHP Метод

__construct() публичный Метод

Constructor.
public __construct ( string $name, mixed $defaultValue, string $type, string $pluginName, $configSectionName )
$name string The setting's persisted name.
$defaultValue mixed Default value for this setting if no value was specified.
$type string Eg an array, int, ... see TYPE_* constants
$pluginName string The name of the plugin the system setting belongs to.
    public function __construct($name, $defaultValue, $type, $pluginName, $configSectionName)
    {
        parent::__construct($name, $defaultValue, $type, $pluginName);
        $factory = StaticContainer::get('Piwik\\Settings\\Storage\\Factory');
        $this->storage = $factory->getConfigStorage($configSectionName);
    }