src/JsValidatorFactory.php
public function make(array $rules, array $messages = [], array $customAttributes = [], $selector = null)
    {
        $validator = $this->getValidatorInstance($rules, $messages, $customAttributes);

        return $this->validator($validator, $selector);
    }
public function make(array $rules, array $messages = [], array $customAttributes = [], $selector = null)
    {
        $validator = $this->getValidatorInstance($rules, $messages, $customAttributes);

        return $this->validator($validator, $selector);
    }
Creates JsValidator instance based on rules and message arrays.

@param array $rules
@param array $messages
@param array $customAttributes
@param null|string $selector
@return \Proengsoft\JsValidation\Javascript\JavascriptValidator