3declare(strict_types=1);
61 if (!$this->
has(MainMenuMainCollector::class)) {
62 $providers = $this->provider_factory->getMainBarProvider();
63 $information = $this->provider_factory->getMainBarItemInformation();
66 MainMenuMainCollector::class,
75 return $this->
get(MainMenuMainCollector::class);
80 return $this->
getWithArgument(MetaBarMainCollector::class, $this->provider_factory->getMetaBarProvider());
85 if (!$this->
has(MainToolCollector::class)) {
86 $providers = $this->provider_factory->getToolProvider();
87 $information = $this->provider_factory->getMainBarItemInformation();
92 return $this->
get(MainToolCollector::class);
97 return $this->
getWithMultipleArguments(MainLayoutCollector::class, [$this->provider_factory->getModificationProvider()]);
102 return $this->
getWithArgument(MainNotificationCollector::class, $this->provider_factory->getNotificationsProvider());
107 return $this->
getWithArgument(ToastCollector::class, $this->provider_factory->getToastsProvider());
ProviderFactory $provider_factory
__construct(ProviderFactory $provider_factory)
CollectorFactory constructor.
Class MainLayoutCollector.
Class MainMenuMainCollector This Collector will collect and then provide all available slates from th...
Class MainMenuItemFactory This factory provides you all available types for MainMenu GlobalScreen Ite...
Class MetaBarMainCollector.
Class MainNotificationCollector.
Interface ProviderFactory.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
trait SingletonTrait
Class SingletonTrait.
getWithArgument(string $class_name, $argument)
getWithMultipleArguments(string $class_name, array $arguments)