code: protected function getViewData()
      {
          $this->validator->setRemote($this->remote);
          $data = $this->validator->validationData();
          $data['selector'] = $this->selector;
  
          if (! is_null($this->ignore)) {
              $data['ignore'] = $this->ignore;
          }
  
          return $data;
      }
docs: Gets view data.
  
  @return array