protected function afterCreateElements($event) { parent::afterCreateElements($event); $this->persistPcrRisk(); }