message = str_replace(':attribute', $field, $message); return false; } /** * @return string */ public function getError(): string { return $this->message; } }