/** * @param PostWasRestored $event */ public function whenPostWasRestored(PostWasRestored $event) { $this->notifications->restore($this->getNotification($event->post)); }