public function __construct(array $config = []) { if (!empty($config)) { $this->config = array_merge($this->config, $config); } }