code: protected function prepareData(InputInterface $input)
      {
          $return = [];
  
          foreach ($this->validators as $validator) {
              $result = $validator->validate($input);
  
              if (isset($result) && is_array($result)) {
                  $return = NestedArray::mergeDeep($return, $result);
              } elseif (isset($result)) {
                  $return[] = $result;
              }
          }
  
          return $return;
      }
docs: Prepare data before execution.
  
  @param InputInterface  $input
  Input.
  
  @return array
  Prepared data.