1
0
mirror of https://github.com/danog/postgres.git synced 2024-12-15 10:57:22 +01:00
postgres/lib/Notification.php

19 lines
269 B
PHP
Raw Normal View History

2016-12-30 06:21:17 +01:00
<?php
2016-09-19 18:12:32 +02:00
namespace Amp\Postgres;
use Amp\Struct;
class Notification {
use Struct;
2017-05-16 06:28:37 +02:00
2016-09-19 18:12:32 +02:00
/** @var string Channel name. */
public $channel;
2017-05-16 06:28:37 +02:00
2016-09-19 18:12:32 +02:00
/** @var int PID of message source. */
public $pid;
2017-05-16 06:28:37 +02:00
2017-02-16 23:25:52 +01:00
/** @var string Message payload */
2016-09-19 18:12:32 +02:00
public $payload;
}