/** * Deletes any images that were listed for that post. * * @param PostWasDeleted $event */ public function postWasDeleted(PostWasDeleted $event) { Image::where('post_id', $event->post->id)->delete(); }