private function handlePostPersist()
    {
        if (null !== $this->postFunction) {
            \call_user_func($this->postFunction, $this->environment, $this->model, $this->originalModel);
        }

        $event = new PostPersistModelEvent($this->environment, $this->model, $this->originalModel);
        $this->dispatcher->dispatch($event::NAME, $event);
    }