Total Complexity | 4 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class LikeObserver |
||
17 | { |
||
18 | /** |
||
19 | * Handle the created event for the model. |
||
20 | * |
||
21 | * @param \Turahe\Likeable\Contracts\Like $like |
||
22 | * @return void |
||
23 | */ |
||
24 | public function created(LikeContract $like) |
||
32 | } |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * Handle the deleted event for the model. |
||
37 | * |
||
38 | * @param \Turahe\Likeable\Contracts\Like $like |
||
39 | * @return void |
||
40 | */ |
||
41 | public function deleted(LikeContract $like) |
||
52 |