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

Breadcrumb

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

function AliasPackage::setRootPackageAlias

Stores whether this is an alias created by an aliasing in the requirements of the root package or not

Use by the policy for sorting manually aliased packages first, see #576

File

vendor/composer/composer/src/Composer/Package/AliasPackage.php, line 163

Class

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

Namespace

Composer\Package

Code

public function setRootPackageAlias(bool $value) : void {
    $this->rootPackageAlias = $value;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal