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

getTemplate() public method

Get error template
public getTemplate ( ) : string
return string
    public function getTemplate()
    {
        if ($this->identical) {
            return __('{{name}} must be identical as "%s"', $this->compareTo);
        } else {
            return __('{{name}} must be equals "%s"', $this->compareTo);
        }
    }