1 | <?php |
||
6 | class CategoryWasChangedEvent |
||
7 | { |
||
8 | /** |
||
9 | * The conversation instance. |
||
10 | * |
||
11 | * @var \Xetaravel\Models\DiscussConversation |
||
12 | */ |
||
13 | public $conversation; |
||
14 | |||
15 | /** |
||
16 | * The new category id. |
||
17 | * |
||
18 | * @var int |
||
19 | */ |
||
20 | public $category; |
||
21 | |||
22 | /** |
||
23 | * The old category id. |
||
24 | * |
||
25 | * @var int |
||
26 | */ |
||
27 | public $oldCategory; |
||
28 | |||
29 | /** |
||
30 | * Create a new event instance. |
||
31 | * |
||
32 | * @param \Xetaravel\Models\DiscussConversation $conversation |
||
33 | * @param int $category |
||
34 | * @param int $oldCategory |
||
35 | * |
||
36 | */ |
||
37 | public function __construct(DiscussConversation $conversation, int $category, int $oldCategory) |
||
43 | } |
||
44 |