19declare(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());
84 if (!$this->
has(FooterMainCollector::class)) {
85 $providers = $this->provider_factory->getFooterProvider();
86 $information = $this->provider_factory->getFooterItemInformation();
89 FooterMainCollector::class,
97 return $this->
get(FooterMainCollector::class);
102 if (!$this->
has(MainToolCollector::class)) {
103 $providers = $this->provider_factory->getToolProvider();
104 $information = $this->provider_factory->getMainBarItemInformation();
109 return $this->
get(MainToolCollector::class);
114 return $this->
getWithMultipleArguments(MainLayoutCollector::class, [$this->provider_factory->getModificationProvider()]);
119 return $this->
getWithArgument(MainNotificationCollector::class, $this->provider_factory->getNotificationsProvider());
124 return $this->
getWithArgument(ToastCollector::class, $this->provider_factory->getToastsProvider());
__construct(private 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.
trait SingletonTrait
Class SingletonTrait.
@noinspection PhpIncompatibleReturnTypeInspection
getWithArgument(string $class_name, $argument)
getWithMultipleArguments(string $class_name, array $arguments)