-
Notifications
You must be signed in to change notification settings - Fork 104
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
Load Config from Database #29
Comments
@brexis Hi man, I'm also searching for this, I tried to override the service provider but didn't worked, you know the thing I want to do is to tell the workflowRegistry to check if the workflowData is an array or a closure, so that if it's a closure it would run it and get the returned data, I did that in the main package files and it worked, now I want to have it on my application folder to override your package to make it available after composer update command. |
Hi guys. |
@brexis Hey dude, thank you for answering. |
hi @dezashibi Can you please share an example of how it would work? |
@brexis
this helps to have closure function instead of array for config which in it we can make queries and get data from DB for example structure of transactions, etc. |
Sorry for the delay. I see. I think it doable. Will be able to work on it. Thank you. |
@brexis |
Hi,
I'm using Laravel 5.6,
How can i fill transitions config from database?
I want to save my transitions on database and fill config file from that?
Is it possible to load a model in an anonymous function?
Thanks in advance
The text was updated successfully, but these errors were encountered: