1 | <?php |
||
23 | class EventChannel extends BaseChannel implements ChannelInterface |
||
24 | { |
||
25 | /** |
||
26 | * An array of all available adapters. |
||
27 | * |
||
28 | * @var array |
||
29 | */ |
||
30 | private $adapters = []; |
||
31 | private $eventDispatcher; |
||
32 | |||
33 | /** |
||
34 | * @param $key |
||
35 | * @param MessageAdapterInterface $adapter |
||
36 | * @param array $config |
||
37 | */ |
||
38 | public function setAdapters($key, MessageAdapterInterface $adapter, array $config) |
||
45 | |||
46 | /** |
||
47 | * @param NotificationInterface $notification |
||
48 | * @return bool |
||
49 | */ |
||
50 | public function formatAndDispatch(NotificationInterface $notification) |
||
54 | } |
||
55 |