public static function getInstance(array $config = []) { return static::$instance ?: (static::$instance = new self($config)); }