provider(new AppServiceProvider()); } return $container; } // Singleton instance of the main plugin class. function syncBasalamPlugin() { return syncBasalamContainer()->get(Plugin::class); } // Singleton instance of the woosalam Settings container. function syncBasalamSettings() { return syncBasalamContainer()->get(SettingsContainer::class); } function syncBasalamActivatePlugin() { Activator::activate(); set_transient('sync_basalam_just_activated', true, 10); } syncBasalamContainer()->get(JobsRunner::class);