code: protected function remoteRule($attribute, $forceRemote)
      {
          $attrHtmlName = $this->getAttributeName($attribute);
          $params = [
              $attrHtmlName,
              $this->remoteToken,
              $forceRemote,
          ];
  
          return [$attribute, $params];
      }
docs: Returns Javascript parameters for remote validated rules.
  
  @param string $attribute
  @param bool $forceRemote
  @return array