Hi to the community,
I got totally confused while trying to use ratchet websocket in cakephp 4.
Confused with the namespaces and “use”.
Server in bin folder with the following:
Websocket is in the src folder with following (websocket.php)
All is up and running, message got delivered and received.
NOW THE ISSUE, I want of course to use the regular controllers inside the websocket class.
Could you please help with namespace, use, appcontroller to get to use the controllers, tableregistry and other… in the websocket class (which is inside the Websocket.php in the src folder)
Thanks in advance for help.