19 declare(strict_types=1);
    27     protected \ilDBInterface 
$db;
    45         if (!isset($this->plugins[$id])) {
    46             $plugin_info = $this->component_repository->getPluginById($id);
    47             $class_name = $plugin_info->getClassName();
    48             $plugin = 
new $class_name($this->db, $this->component_repository, $id);
    52         return $this->plugins[
$id];
    57         $ps = $this->component_repository->getPluginSlotById($slot_id)->getActivePlugins();
 __construct(\ilComponentRepositoryWrite $component_repository, \ilDBInterface $db)
 
Writeable part of repository interface to ilComponentDataDB. 
 
ilComponentRepositoryWrite $component_repository
 
getPlugin(string $id)
Get the plugin for the given id. 
 
getActivePluginsInSlot(string $slot_id)
Get the active plugins for the given slot. 
 
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins