getPayload()); return starts_with($payload->event, 'pusher:') ? new PusherChannelProtocolMessage($payload, $connection, $channelManager) : new PusherClientMessage($payload, $connection, $channelManager); } }