app/Http/Requests/AdminSignUpRequest.php
/**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
Get the validation rules that apply to the request.
@return array
Get the validation rules that apply to the request . @return array
public function rules()
    {
        return [
            'username' => 'required|email',
            'password' => 'required|min:5',
            'fullName' => 'required',
            'phone'=> 'required|min:11|max:11',
            'confirmPassword' => 'required'
        ];
    }
public function rules ( ) { return [ 'username' => 'required|email' , 'password' => 'required|min:5' , 'fullName' => 'required' , 'phone' => 'required|min:11|max:11' , 'confirmPassword' => 'required' ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .