19declare(strict_types=1);
65 if (!$this->
has(MainMenuMainCollector::class)) {
66 $providers = $this->provider_factory->getMainBarProvider();
67 $information = $this->provider_factory->getMainBarItemInformation();
70 MainMenuMainCollector::class,
79 return $this->
get(MainMenuMainCollector::class);
84 return $this->
getWithArgument(MetaBarMainCollector::class, $this->provider_factory->getMetaBarProvider());
89 if (!$this->
has(MainToolCollector::class)) {
90 $providers = $this->provider_factory->getToolProvider();
91 $information = $this->provider_factory->getMainBarItemInformation();
96 return $this->
get(MainToolCollector::class);
101 return $this->
getWithMultipleArguments(MainLayoutCollector::class, [$this->provider_factory->getModificationProvider()]);
106 return $this->
getWithArgument(MainNotificationCollector::class, $this->provider_factory->getNotificationsProvider());
An exception for terminatinating execution or to throw for unit testing.
__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.
@noinspection PhpIncompatibleReturnTypeInspection
trait SingletonTrait
Class SingletonTrait.
getWithArgument(string $class_name, $argument)
getWithMultipleArguments(string $class_name, array $arguments)