/** * @param Place $fromStage * @param Place $toStage * @param bool|false $createNewVersion */ public function publish($fromStage, $toStage, $createNewVersion = false) { parent::publish($fromStage, $toStage, $createNewVersion); $this->owner->extend('onAfterVersionedPublish', $fromStage, $toStage, $createNewVersion); }