src/View/ActionHandler/AbstractPropertyOverrideEditAllHandler.php
private function handlePostPersist(
        ModelInterface $model,
        ModelInterface $originalModel,
        EnvironmentInterface $environment
    ) {
        $event = new PostPersistModelEvent($environment, $model, $originalModel);
        $environment->getEventDispatcher()->dispatch($event::NAME, $event);
    }
private function handlePostPersist(
        ModelInterface $model,
        ModelInterface $originalModel,
        EnvironmentInterface $environment
    ) {
        $event = new PostPersistModelEvent($environment, $model, $originalModel);
        $environment->getEventDispatcher()->dispatch($event::NAME, $event);
    }
private function handlePostPersist ( ModelInterface $ model , ModelInterface $ originalModel , EnvironmentInterface $ environment ) { $ event = new PostPersistModelEvent ( $ environment , $ model , $ originalModel ) ; $ environment -> getEventDispatcher ( ) -> dispatch ( $ event :: NAME , $ event ) ; }
Trigger the post persist event if available.

@param ModelInterface       $model         The edit model.
@param ModelInterface       $originalModel The original model.
@param EnvironmentInterface $environment   The environment.

@return void
Trigger the post persist event if available .