code: protected function verifySettings(array $settings): void
      {
          foreach ($settings as $key => $value) {
              if (!\in_array($key, $this->keySettings, true)) {
                  throw new DatabaseException('"' . $key . '" settings is not recognized');
              }
          }
      }
docs: @param array $settings
  
  @throws DatabaseException