Replies: 1 comment
-
Chaining seems to work but I get larastan errors with it. An alternative is to set both as ActionJob classes and use Bus::chain(). It's not ideal and testing is a hog - you have to use ReflectionClass to access the property actionClass for testing.. As you say, hopefully there is something simple we are overlooking but I can't see it atm. Example:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am unsure on even asking this question because it's probably so simple but cannot get a working example. The code below gives me the error
Call to a member function chain() on null
. The examples don't show any actions returning anything and I cannot find examples anywhere else so I am unsure how to proceed or how to debug.I'd like to use this package to pass data from GeneratePdfAction to StoreFileAction. Is it intended be used in this way? I read somewhere you can pass data from one action to the other within a chain, but I don't see an example of that here either.
Beta Was this translation helpful? Give feedback.
All reactions