| 1 | <?php |
||
| 13 | final class AggregateTransport implements TransportInterface |
||
| 14 | { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var iterable|TransportInterface[] |
||
| 18 | */ |
||
| 19 | private $transports; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * AggregateTransport constructor. |
||
| 23 | * @param iterable $transports |
||
| 24 | */ |
||
| 25 | 1 | public function __construct(iterable $transports) |
|
| 29 | |||
| 30 | /** |
||
| 31 | * @param MessageInterface $message |
||
| 32 | * @return void |
||
| 33 | */ |
||
| 34 | 1 | public function send(MessageInterface $message): void |
|
| 40 | } |