-
Notifications
You must be signed in to change notification settings - Fork 13
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
Hooks? #10
Comments
No, apps written with Concord are typically using the default Laravel Event system to achieve such functionality. Concord itself fires a couple of events and also supports apps/modules to disable events. Nevertheless, you can use the mentioned package along with Concord without any problems. Does this properly answer your question? |
Sorry, but can you show me how to do that? Because the conventional approach is very criticized because “listeners but not return values”. |
As an example, the Vanilo Payment module (which is built on top of Concord) is using the registry pattern to achieve such functionality: https://github.com/vanilophp/payment/blob/master/src/PaymentGateways.php#L22 And any plugin for the payment module can register itself with |
Great, thanks a lot |
@fulopattila122 I didn't see you are the developer, I have been following Vanilo for some time, from the first beta. |
Does it supports Hooks?
I have found this package https://github.com/tormjens/eventy
But does your package offers that functionality?
The text was updated successfully, but these errors were encountered: