src/Commands/Stubs/Backend/Auth/Auth/Requests/RegisterRequest.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 [
            'email' => 'required|email:rfc,dns|unique:__defaultNamespace__\Models\MUser,email',
            'username' => 'nullable|unique:__defaultNamespace__\Models\MUser,username',
        ];
    }
public function rules ( ) { return [ 'email' => 'required|email:rfc,dns|unique:__defaultNamespace__\Models\MUser,email' , 'username' => 'nullable|unique:__defaultNamespace__\Models\MUser,username' , ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .