1 | <?php |
||
8 | class PostObserver |
||
9 | { |
||
10 | /** |
||
11 | * Handle the post "saving" event. |
||
12 | * |
||
13 | * @param \Chriscreates\Blog\Post $post |
||
14 | * @return void |
||
15 | */ |
||
16 | public function saving(Post $post) |
||
38 | |||
39 | /** |
||
40 | * Handle the post "deleting" event. |
||
41 | * |
||
42 | * @param \Chriscreates\Blog\Post $post |
||
43 | * @return void |
||
44 | */ |
||
45 | public function deleting(Post $post) |
||
53 | } |
||
54 |