| 1 | <?php | ||
| 27 | class Sender implements SenderInterface | ||
| 28 | { | ||
| 29 | /** | ||
| 30 | * @var AdapterInterface | ||
| 31 | */ | ||
| 32 | private $adapter; | ||
| 33 | |||
| 34 | /** | ||
| 35 | * Constructor. | ||
| 36 | * | ||
| 37 | * @param AdapterInterface $adapter | ||
| 38 | */ | ||
| 39 | 1 | public function __construct(AdapterInterface $adapter) | |
| 43 | |||
| 44 | /** | ||
| 45 |      * {@inheritdoc} | ||
| 46 | * | ||
| 47 | * @throws SendSmsExceptionInterface | ||
| 48 | */ | ||
| 49 | 1 | public function send(Message $message, Phone ...$recipients): ResultCollection | |
| 53 | } | ||
| 54 |