-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问下 saga 要怎么写呀 #74
Comments
Too few arguments to function DtmClient\Saga::__construct(), 0 passed in |
|
我现在是在laravel10 开启了octane swoole下运行, 没有单独的make 方法, |
https://github.com/dtm-php/dtm-laravel-sample/blob/master/app/Providers/DtmProvider.php#L53 可以参考一下这里的写法,注入一下,然后就可以使用 |
好的 我研究下, 目前来看就是 要自己包一个provider 来实现注入, 但是里面好多都用到了 Hyperf |
我看了示例
这样写是会报错的 因为 Saga 构造函数需要注入实例吧 ,
The text was updated successfully, but these errors were encountered: