/**
* Adds or updates packages.
*
* @param PackageRequireOptions[] $packages
*
* @return ImportMapEntry[]
*/
public function require(array $packages): array
{
return $this->updateImportMapConfig(false, $packages, [], []);
}
/**
* Removes packages.
*
* @param string[] $packages
*/
public function remove(array $packages): void
{
$this->updateImportMapConfig(false, [], $packages, []);
}