| 1 | <?php |
||
| 9 | final class AggregateTransport implements TransportInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var iterable|TransportInterface[] |
||
| 13 | */ |
||
| 14 | private $transports; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param iterable|TransportInterface[] $transports |
||
| 18 | */ |
||
| 19 | 1 | public function __construct(iterable $transports) |
|
| 23 | |||
| 24 | /** |
||
| 25 | * @param MessageInterface $message |
||
| 26 | * @return void |
||
| 27 | */ |
||
| 28 | 1 | public function send(MessageInterface $message): void |
|
| 34 | } |
||
| 35 |