47 if (!$this->
has(MainMenuMainCollector::class)) {
48 $providers = $this->provider_factory->getMainBarProvider();
49 $information = $this->provider_factory->getMainBarItemInformation();
52 MainMenuMainCollector::class,
61 return $this->
get(MainMenuMainCollector::class);
70 return $this->
getWithArgument(MetaBarMainCollector::class, $this->provider_factory->getMetaBarProvider());
80 if (!$this->
has(MainToolCollector::class)) {
81 $providers = $this->provider_factory->getToolProvider();
82 $information = $this->provider_factory->getMainBarItemInformation();
87 return $this->
get(MainToolCollector::class);
97 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.
Class MetaBarMainCollector.
Class MainNotificationCollector.
Interface ProviderFactory.
trait SingletonTrait
Class SingletonTrait.
getWithArgument(string $class_name, $argument)
getWithMultipleArguments(string $class_name, array $arguments)