repo->ofName($cmd->name); $ins = $pw->plugin; if ($ins instanceof InstallHookInterface) { $ins->install($pw->context); } return $pw; } }