42 $this->appendCore($providers, StaticMainMenuProvider::class);
45 $this->
appendPlugins($providers, StaticMainMenuProvider::class);
57 private function appendPlugins(array &$array_of_core_providers,
string $interface)
60 static $plugin_providers;
64 foreach ($plugin_providers as
$provider) {
65 if (is_a($provider, $interface)) {
76 private function appendCore(array &$array_of_providers,
string $interface)
78 static $provider_storages;
86 StaticMainMenuProvider::class => StaticMainMenuProvider::PURPOSE_MAINBAR,
89 foreach ($provider_storages as $provider_storage) {
90 if ($provider_storage->getPurpose() === $interface_map[$interface]) {
92 $array_of_providers[] = $provider_storage->getInstance();
Class ilGSProviderFactory.
isInstanceCreationPossible(string $class_name)
static getAllGlobalScreenProviders()
Customizing of pimple-DIC for ILIAS.
appendPlugins(array &$array_of_core_providers, string $interface)
__construct(Container $dic)
registerInternal(array $providers)