name: SendersLocator class_comment: '# * Maps a message to a list of senders. # * # * @author Fabien Potencier ' dependencies: - name: ContainerInterface type: class source: Psr\Container\ContainerInterface - name: AsMessage type: class source: Symfony\Component\Messenger\Attribute\AsMessage - name: Envelope type: class source: Symfony\Component\Messenger\Envelope - name: RuntimeException type: class source: Symfony\Component\Messenger\Exception\RuntimeException - name: HandlersLocator type: class source: Symfony\Component\Messenger\Handler\HandlersLocator - name: TransportNamesStamp type: class source: Symfony\Component\Messenger\Stamp\TransportNamesStamp properties: [] methods: - name: __construct visibility: public parameters: - name: sendersMap - name: sendersLocator comment: '# * Maps a message to a list of senders. # * # * @author Fabien Potencier # */ # class SendersLocator implements SendersLocatorInterface # { # /** # * @param array> $sendersMap An array, keyed by "type", set to an array of sender aliases # * @param ContainerInterface $sendersLocator Locator of senders, keyed by sender alias' - name: getSenders visibility: public parameters: - name: envelope comment: null - name: getTransportNamesFromAttribute visibility: private parameters: - name: envelope comment: null - name: getSenderFromAlias visibility: private parameters: - name: senderAlias comment: null traits: - Psr\Container\ContainerInterface - Symfony\Component\Messenger\Attribute\AsMessage - Symfony\Component\Messenger\Envelope - Symfony\Component\Messenger\Exception\RuntimeException - Symfony\Component\Messenger\Handler\HandlersLocator - Symfony\Component\Messenger\Stamp\TransportNamesStamp interfaces: - SendersLocatorInterface