picture) { $whoareweicon->picture = ToolboxHelper::storeImage($whoareweicon->picture, $whoareweicon->getTable()); } }); static::updating(function (WhoareweIcon $whoareweicon): void { if ($whoareweicon->picture) { $whoareweicon->picture = ToolboxHelper::storeImage($whoareweicon->picture, $whoareweicon->getTable()); } }); parent::boot(); } }