code: private function handleArrays(Parameters $params, array $permitted = array())
      {
          foreach ($permitted as $key => $allowed) {
              if (is_array($allowed) && $params->hasKey($key)) {
                  $value = $params[$key];
  
                  if ($value instanceof Parameters) {
                      $this->filter($value, $allowed);
                  } else {
                      $this->handleUnpermittedParam($key, $params);
                  }
              }
          }
      }
docs: Handle permissions that are given in the hash form
  @param Parameter $params
  @param array     $permitted