protected function registerConfigurationForManager(TenantiManager $manager): void
    {
        $namespace = $this->hasPackageRepository() ? 'orchestra/tenanti::' : 'orchestra.tenanti';

        $this->app->booted(function ($app) use ($manager, $namespace) {
            $manager->setConfig($app->make('config')->get($namespace));
        });
    }