WebSocketBundle icon indicating copy to clipboard operation
WebSocketBundle copied to clipboard

Use context

Open legarasu opened this issue 7 years ago • 0 comments

https://github.com/GeniusesOfSymfony/WebSocketBundle/blob/master/Pusher/AbstractPusher.php has in doPush(...) a parameter called $context, i suppose is for serialization context, is it true? In that case, why is not use in any implementation? for example in https://github.com/GeniusesOfSymfony/WebSocketBundle/blob/master/Pusher/Wamp/WampPusher.php

It would be very useful specilly combined with FosRestBundled or other REST functionality to serialize by context, as for example create serialization groups.

Thanks,

legarasu avatar Apr 29 '17 15:04 legarasu