public function postUpdate(LifecycleEventArgs $args) { foreach ($this->events as $eventName => $event) { $this->dispatcher->dispatch($eventName, $event); } }