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