Refactor helper drift in lib: centralize theme/translation and remove app() hotspots
This commit is contained in:
@@ -59,6 +59,10 @@ function setAppContainer(\MintyPHP\App\AppContainer $container): void
|
||||
static fn (): \MintyPHP\Service\Access\AuthorizationService => $container->get(\MintyPHP\Service\Access\AuthorizationService::class)
|
||||
);
|
||||
|
||||
\MintyPHP\Support\SearchConfig::configure(
|
||||
static fn (): \MintyPHP\App\Module\ModuleRegistry => $container->get(\MintyPHP\App\Module\ModuleRegistry::class)
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user