Open raghuveer opened 2 years ago
Workerman works fine with them.
This means, my php class to extend Worker class, that has to be called similar to http server or web socket server example right?
This means, my php class to extend Worker class, that has to be called similar to http server or web socket server example right?
Sorry, I can't understand what you said
what I meant is,
my class has psr-11 compatible dependency injection container utilized in it, so when integrating workerman, we will define number of worker instances know, and when we do that, that many instances happen with the same dependency injection container in each?
I hope, my queries will be cleared as I integrate workerman with my code over and above trying existing code samples, will try soon
I don't know much about Laravel container
/PHP-DI
, so I can't give you a clear answer. If you want to know about something with them, the best way is to actively test them.
sure will do, thank you
Hi,
I am interested to know how Workerman workers behave when we have PSR-11 dependency injection containers in the php application?
PSR-11 specification: https://www.php-fig.org/psr/psr-11/
popular containers include: 1) Laravel container 2) PHP-DI (https://php-di.org/) etc...
please check and share your inputs
Thank you