Installs the module at the given path in the repository.
public installModule ( string $installPath, string | null $name = null, string $installerName = InstallInfo::DEFAULT_INSTALLER_NAME, string $env = Environment::PROD ) | ||
$installPath | string | The path to the module. |
$name | string | null | The module name or `null` if the name should be read from the module's puli.json. |
$installerName | string | The name of the installer. |
$env | string | The environment to install the module in. |