| 1 | <?php |
||
| 8 | class TemplateObserver |
||
| 9 | { |
||
| 10 | use FileTraits; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Handle the template "created" event. |
||
| 14 | * |
||
| 15 | * @param Template $template |
||
| 16 | * @return void |
||
| 17 | */ |
||
| 18 | public function created(Template $template) |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Handle the template "updated" event. |
||
| 25 | * |
||
| 26 | * @param Template $template |
||
| 27 | * @return void |
||
| 28 | */ |
||
| 29 | public function updated(Template $template) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Handle the template "deleted" event. |
||
| 36 | * |
||
| 37 | * @param Template $template |
||
| 38 | * @return void |
||
| 39 | */ |
||
| 40 | public function deleted(Template $template) |
||
| 46 | } |
||
| 47 |