-2
I am working with a project in Laravel in which a controller calls a JSON file with the parameters and this JSON file must take the path of another controller and access the action determined for the parameter type received.
"event_name": "startPayment",
"actions": {
"App/Http/Controllers/actionController": [
"deleteSchedulingEmails",
"saveSchedulingEmails"
The controller will receive the "startPayment" event, will call the action that will be found in the file "actionController" and resume actions. But I believe I’m not getting the correct controller path, because when running the tests it returns nothing.
Would they know the correct way to call an external file in JSON? Thank you!