| 1 | <?php | ||
| 9 | final class SystemVSend implements MessageSendInterface | ||
| 10 | { | ||
| 11 | /** | ||
| 12 | * @var resource | ||
| 13 | */ | ||
| 14 | private $queue; | ||
| 15 | |||
| 16 | /** | ||
| 17 | * @var int | ||
| 18 | */ | ||
| 19 | private $type; | ||
| 20 | |||
| 21 | /** | ||
| 22 | * @param int $key | ||
| 23 | * @param int $type | ||
| 24 | */ | ||
| 25 | public function __construct(int $key, int $type = 1) | ||
| 30 | |||
| 31 | /** | ||
| 32 | * @param MessageInterface $message | ||
| 33 | * | ||
| 34 | * @return MessageSendInterface | ||
| 35 | * | ||
| 36 | * @throws MessageSendException | ||
| 37 | */ | ||
| 38 | public function send(MessageInterface $message): MessageSendInterface | ||
| 52 | } | ||
| 53 |