public function __construct(array $configs = []) { $this->setConfigs($configs); $this->set($this->getConfig('default', [])); }