| 1 | <?php |
||
| 18 | trait MessageQueuer |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * Insert add note to message queue. |
||
| 22 | * |
||
| 23 | * @param Project\Note $note |
||
| 24 | * @param User $changeBy |
||
| 25 | * |
||
| 26 | * @return void |
||
| 27 | */ |
||
| 28 | public function queueAdd(Project\Note $note, User $changeBy) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Insert update note to message queue. |
||
| 35 | * |
||
| 36 | * @param Project\Note $note |
||
| 37 | * @param User $changeBy |
||
| 38 | * |
||
| 39 | * @return void |
||
| 40 | */ |
||
| 41 | public function queueUpdate(Project\Note $note, User $changeBy) |
||
| 50 | |||
| 51 | /** |
||
| 52 | * Insert delete note to message queue. |
||
| 53 | * |
||
| 54 | * @param Project\Note $note |
||
| 55 | * @param User $changeBy |
||
| 56 | * |
||
| 57 | * @return void |
||
| 58 | */ |
||
| 59 | public function queueDelete(Project\Note $note, User $changeBy) |
||
| 63 | } |
||
| 64 |