/**
* Format package name.
*
* For package type dokuwiki-plugin, cut off a trailing '-plugin',
* or leading dokuwiki_ if present.
*
* For package type dokuwiki-template, cut off a trailing '-template' if present.
*/
public function inflectPackageVars(array
$vars): array
{ if ($vars['type'
] === 'dokuwiki-plugin'
) { return $this->
inflectPluginVars($vars);
} if ($vars['type'
] === 'dokuwiki-template'
) { return $this->
inflectTemplateVars($vars);
} return $vars;
} /**
* @param array<string, string> $vars
* @return array<string, string>
*/