app/Rules/UniqueCaseInsensitive.php
/**
     * Get the validation error message.
     *
     * @return string
     */
Get the validation error message.
@return string
Get the validation error message . @return string
public function message()
    {
        $name = strtolower($this->name ?? ':attribute');
        return ucfirst($name) . " is already existed. Please enter a different $name.";
    }
public function message ( ) { $ name = strtolower ( $ this -> name ?? ':attribute' ) ; return ucfirst ( $ name ) . "  is already existed. Please enter a different  $ name . " ; }
Get the validation error message.
Get the validation error message .