20 declare(strict_types=1);
64 return $this->component->getQualifiedName() .
"/" . $this->
getName();
72 foreach ($this->plugins as $id =>
$plugin) {
79 return isset($this->plugins[$id]);
88 throw new \InvalidArgumentException(
89 "No plugin $id in slot {$this->getQualifiedName()}." 92 return $this->plugins[
$id];
98 if ($plugin->getName() ===
$name) {
111 if ($plugin->getName() ===
$name) {
115 throw new \InvalidArgumentException(
116 "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)