5use ILIAS\GlobalScreen\Scope\MetaBar\Provider\StaticMetaBarProvider;
6use ILIAS\GlobalScreen\Scope\Tool\Provider\DynamicToolProvider;
53 $this->all_providers[get_class($item)] = $item;
83 throw new \LogicException(
"the GlobalScreen-Provider $class_name is not available");
86 return $this->all_providers[$class_name];
95 return class_exists($class_name);
104 return isset($this->all_providers[$class_name]);
An exception for terminatinating execution or to throw for unit testing.
isRegistered(string $class_name)
@inheritDoc
getProviderByClassName(string $class_name)
@inheritDoc
registerInternal(array $providers)
getMainBarItemInformation()
@inheritDoc
isInstanceCreationPossible(string $class_name)
@inheritDoc
__construct(array $main_bar_providers, ItemInformation $main_menu_item_information)
ProviderFactory constructor.
getMainBarProvider()
@inheritDoc
$main_menu_item_information
Interface ProviderFactoryInterface.
Interface StaticMainMenuProvider.