__DIR__ . '/Media.install.json']); $defaultTemplate = \reset($media['upload'][0]); $setting = new Setting(); SettingMapper::create()->execute($setting->with(0, SettingsEnum::DEFAULT_SALES_INVOICE_TEMPLATE, (string) $defaultTemplate->getId(), '\\d+', null, 'Billing')); } }