class MessengerConsumeResponseFactory (View source)

This class is used to send responses when using app-powered message consumption. This is the default because it relies on zero configuration but you really should use the CLI messenger:consume command instead.

Class MessengerConsumeResponseFactory

Properties

protected EntityManager $entityManager
protected TransportManager $transportManager

Methods

__construct(EntityManager $entityManager, TransportManager $transportManager)

MessengerConsumeResponseFactory constructor.

JsonResponse
createResponse()

No description

Details

__construct(EntityManager $entityManager, TransportManager $transportManager)

MessengerConsumeResponseFactory constructor.

Parameters

EntityManager $entityManager
TransportManager $transportManager

JsonResponse createResponse()

No description

Return Value

JsonResponse