| 1 | <?php |
||
| 26 | trait QueueTrait |
||
| 27 | { |
||
| 28 | /** |
||
| 29 | * Insert add note to message queue. |
||
| 30 | * |
||
| 31 | * @param Note $note |
||
| 32 | * @param User $changeBy |
||
| 33 | * |
||
| 34 | * @return void |
||
| 35 | */ |
||
| 36 | public function queueAdd(Note $note, User $changeBy) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Insert update note to message queue. |
||
| 43 | * |
||
| 44 | * @param Note $note |
||
| 45 | * @param User $changeBy |
||
| 46 | * |
||
| 47 | * @return void |
||
| 48 | */ |
||
| 49 | public function queueUpdate(Note $note, User $changeBy) |
||
| 58 | |||
| 59 | /** |
||
| 60 | * Insert delete note to message queue. |
||
| 61 | * |
||
| 62 | * @param Note $note |
||
| 63 | * @param User $changeBy |
||
| 64 | * |
||
| 65 | * @return void |
||
| 66 | */ |
||
| 67 | public function queueDelete(Note $note, User $changeBy) |
||
| 71 | } |
||
| 72 |