Chatter
in package
implements
ChatterInterface
FinalYes
Tags
Table of Contents
Interfaces
- ChatterInterface
- Interface for classes able to send chat messages synchronous and/or asynchronous.
Properties
- $bus : mixed
- $dispatcher : mixed
- $transport : mixed
Methods
- __construct() : mixed
- __toString() : string
- send() : SentMessage|null
- supports() : bool
Properties
$bus
private
mixed
$bus
$dispatcher
private
mixed
$dispatcher
$transport
private
mixed
$transport
Methods
__construct()
public
__construct(TransportInterface $transport[, MessageBusInterface $bus = null ][, EventDispatcherInterface $dispatcher = null ]) : mixed
Parameters
- $transport : TransportInterface
- $bus : MessageBusInterface = null
- $dispatcher : EventDispatcherInterface = null
__toString()
public
__toString() : string
Return values
stringsend()
public
send(MessageInterface $message) : SentMessage|null
Parameters
- $message : MessageInterface
Return values
SentMessage|nullsupports()
public
supports(MessageInterface $message) : bool
Parameters
- $message : MessageInterface