protected $locations = array
( 'module' => 'app/Modules/{$name}/',
'theme' => 'themes/{$name}/',
);
/**
* Format package name.
*/
public function inflectPackageVars(array
$vars): array
{ if ($vars['type'
] === 'pxcms-module'
) { return $this->
inflectModuleVars($vars);
} if ($vars['type'
] === 'pxcms-theme'
) { return $this->
inflectThemeVars($vars);
} return $vars;
} /**
* For package type pxcms-module, cut off a trailing '-plugin' if present.
*
* @param array<string, string> $vars
* @return array<string, string>
*/