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

Breadcrumb

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

function RootPackageInterface::setRequires

Set the required packages

Parameters

Link[] $requires A set of package links:

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

File

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

Class

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

Namespace

Composer\Package

Code

public function setRequires(array $requires) : void;
RSS feed
Powered by Drupal