app/Http/Requests/LoginRequest.php
/**
     * Get the validation messages that apply to the request.
     *
     * @return array
     */
Get the validation messages that apply to the request.
@return array
Get the validation messages that apply to the request . @return array
public function messages()
    {
        return [
            'email.required' => 'Email is a mendatory input',           
            'email.email' => 'Please enter a valid email',              
            'password.required' => 'Password is a mandatory input',     
        ];
    }
public function messages ( ) { return [ 'email.required' => 'Email is a mendatory input' , 'email.email' => 'Please enter a valid email' , 'password.required' => 'Password is a mandatory input' , ] ; }
Get the validation messages that apply to the request.
Get the validation messages that apply to the request .
// VALIDATION MESSAGES OF ADMIN LOGIN // ADMIN REQUIRED EMAIL MESSAGE // ADMIN INVALID EMAIL TYPE MESSAGE // ADMIN REQUIRED PASSWORD MESSAGE