singleton(PremiumAddonsListManager::class); give()->singleton(LicenseRepository::class); } /** * @since 4.3.0 added refresh-licenses-for-platform-fee migration * @since 2.11.3 */ public function boot() { /** @var MigrationsRegister $migrationRegistrar */ $migrationRegistrar = give(MigrationsRegister::class); $migrationRegistrar->addMigration(RefreshLicensesForPlatformFee::class); $migrationRegistrar->addMigration(RefreshLicensesForLastActiveDate::class); Hooks::addAction('give_add_system_info_configuration', AddPlatformFeeAmountToSystemInfo::class); } }