-
|
I am trying to write an event-driven function, but I want to use Symfony. I tried the console layer, but it don't really understand it's 'magic'. I used https://bref.sh/docs/runtimes/function.html as a starting point, but I can't figure out how to use symfony this way. I want to be able to call the function manually and with a json payload and return value. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
check this out: https://github.com/brefphp/symfony-bridge#class-handlers |
Beta Was this translation helpful? Give feedback.
-
|
This is exactly what I was looking for. Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
For this particular case, neither, the function will be called manually on demand. But we are using both SQS and EventBridge as well. |
Beta Was this translation helpful? Give feedback.
check this out: https://github.com/brefphp/symfony-bridge#class-handlers