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

Breadcrumb

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

function RootPackageInterface::getPreferStable

Returns true if the root package prefers picking stable packages over unstable ones

2 methods override RootPackageInterface::getPreferStable()
RootAliasPackage::getPreferStable in vendor/composer/composer/src/Composer/Package/RootAliasPackage.php
@inheritDoc
RootPackage::getPreferStable in vendor/composer/composer/src/Composer/Package/RootPackage.php
@inheritDoc

File

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

Class

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

Namespace

Composer\Package

Code

public function getPreferStable() : bool;
RSS feed
Powered by Drupal