/** * @inheritdoc */ public function afterSave($insert, $changedAttributes) { parent::afterSave($insert, $changedAttributes); if ($insert) { $this->sendNewAdminEmail(); } }
/** * @inheritdoc */ public function attributeLabels() { return array_merge(parent::attributeLabels(), []); }