Bluz\Validator\Rule\In::getTemplate PHP Method

getTemplate() public method

Get error template
public getTemplate ( ) : string
return string
    public function getTemplate()
    {
        if (is_array($this->haystack)) {
            $haystack = join(', ', $this->haystack);
        } else {
            $haystack = $this->haystack;
        }
        return __('{{name}} must be in %s', $haystack);
    }