Composer\Installers
CakePHPInstaller::getLocations() public WC 1.0
Change the default plugin location when cakephp >= 3.0
{} Это метод класса: CakePHPInstaller{}
Хуков нет.
Возвращает
Null. Ничего.
Использование
$CakePHPInstaller = new CakePHPInstaller(); $CakePHPInstaller->getLocations();
Код CakePHPInstaller::getLocations() CakePHPInstaller::getLocations WC 5.0.0
public function getLocations()
{
if ($this->matchesCakeVersion('>=', '3.0.0')) {
$this->locations['plugin'] = $this->composer->getConfig()->get('vendor-dir') . '/{$vendor}/{$name}/';
}
return $this->locations;
}