/** * @inheritdoc */ public function scenarios() { return ArrayHelper::merge(parent::scenarios(), ['profile' => ['name', 'deleteAvatar', 'uploadedAvatar']]); }