src/Javascript/RuleParser.php
protected function remoteRule($attribute, $forceRemote)
    {
        $attrHtmlName = $this->getAttributeName($attribute);
        $params = [
            $attrHtmlName,
            $this->remoteToken,
            $forceRemote,
        ];

        return [$attribute, $params];
    }
protected function remoteRule($attribute, $forceRemote)
    {
        $attrHtmlName = $this->getAttributeName($attribute);
        $params = [
            $attrHtmlName,
            $this->remoteToken,
            $forceRemote,
        ];

        return [$attribute, $params];
    }
protected function remoteRule ( $ attribute , $ forceRemote ) { $ attrHtmlName = $ this -> getAttributeName ( $ attribute ) ; $ params = [ $ attrHtmlName , $ this -> remoteToken , $ forceRemote , ] ; return [ $ attribute , $ params ] ; }
Returns Javascript parameters for remote validated rules.

@param string $attribute
@param bool $forceRemote
@return array
Returns Javascript parameters for remote validated rules .