WordPress at a glance
function is not described

Composer\Installers

BaseInstaller::getLocations() public WC 1.0

Gets the installer's locations

{} It's a method of the class: BaseInstaller{}

No Hooks.

Return

Array<String,. string> map of package types => install path

Usage

$BaseInstaller = new BaseInstaller();
$BaseInstaller->getLocations();

Code of BaseInstaller::getLocations() WC 5.0.0

<?php
public function getLocations()
{
    return $this->locations;
}