Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. RootAliasPackage.php

function RootAliasPackage::setReplaces

@inheritDoc

Overrides RootPackageInterface::setReplaces

File

vendor/composer/composer/src/Composer/Package/RootAliasPackage.php, line 132

Class

RootAliasPackage
@author Jordi Boggiano <j.boggiano@seld.be>

Namespace

Composer\Package

Code

public function setReplaces(array $replaces) : void {
    $this->replaces = $this->replaceSelfVersionDependencies($replaces, Link::TYPE_REPLACE);
    $this->aliasOf
        ->setReplaces($replaces);
}
RSS feed
Powered by Drupal