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

Breadcrumb

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

function RootPackageInterface::setReplaces

Set the packages this one replaces

Parameters

Link[] $replaces A set of package links:

1 method overrides RootPackageInterface::setReplaces()
RootAliasPackage::setReplaces in vendor/composer/composer/src/Composer/Package/RootAliasPackage.php
@inheritDoc

File

vendor/composer/composer/src/Composer/Package/RootPackageInterface.php, line 104

Class

RootPackageInterface
Defines additional fields that are only needed for the root package

Namespace

Composer\Package

Code

public function setReplaces(array $replaces) : void;
RSS feed
Powered by Drupal