19 declare(strict_types=1);
63 return $this->component->getQualifiedName() .
"/" . $this->
getName();
76 foreach ($this->plugins as $id =>
$plugin) {
83 return isset($this->plugins[$id]);
92 throw new \InvalidArgumentException(
93 "No plugin $id in slot {$this->getQualifiedName()}." 96 return $this->plugins[
$id];
102 if ($plugin->getName() ===
$name) {
115 if ($plugin->getName() ===
$name) {
119 throw new \InvalidArgumentException(
120 "No plugin with name $name in slot {$this->getQualifiedName()}."
__construct(ilComponentInfo $component, string $id, string $name, array &$plugins)
Simple value class for basic information about a pluginslot.
getPluginByName(string $name)
ilComponentInfo $component
Simple value class for information about a plugin.
hasPluginName(string $name)
Simple value class for basic information about a component.
getPluginById(string $id)