19 declare(strict_types=1);
63 return $this->component->getQualifiedName() .
"/" . $this->
getName();
71 foreach ($this->plugins as $id =>
$plugin) {
78 return isset($this->plugins[$id]);
87 throw new \InvalidArgumentException(
88 "No plugin $id in slot {$this->getQualifiedName()}." 91 return $this->plugins[
$id];
97 if ($plugin->getName() ===
$name) {
110 if ($plugin->getName() ===
$name) {
114 throw new \InvalidArgumentException(
115 "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)