| 1 | <?php |
||
| 9 | class PassThreadControlEvent extends AbstractEvent |
||
| 10 | { |
||
| 11 | public const NAME = 'pass_thread_control'; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var int |
||
| 15 | */ |
||
| 16 | protected $timestamp; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var \Kerox\Messenger\Model\Callback\PassThreadControl |
||
| 20 | */ |
||
| 21 | protected $passThreadControl; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * PassThreadControlEvent constructor. |
||
| 25 | */ |
||
| 26 | 2 | public function __construct( |
|
| 37 | |||
| 38 | 1 | public function getTimestamp(): int |
|
| 42 | |||
| 43 | 2 | public function getPassThreadControl(): PassThreadControl |
|
| 47 | |||
| 48 | 1 | public function getName(): string |
|
| 52 | |||
| 53 | /** |
||
| 54 | * @return \Kerox\Messenger\Event\PassThreadControlEvent |
||
| 55 | */ |
||
| 56 | 1 | public static function create(array $payload): self |
|
| 65 | } |
||
| 66 |