/**
* @param SharedPackageInstallerConfig $config
*/
public function __construct(SharedPackageInstallerConfig $config)
{
$packageList = $config->getPackageList();
foreach ($packageList as $packageName) {
if ('*' === $packageName) {
$this->areAllShared = true;
}
}
if (!$this->areAllShared) {
$this->packageCallbacks = $this->createCallbacks($packageList);
}
}