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

Breadcrumb

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

function RootPackageInterface::getReferences

Returns a set of package names and source references that must be enforced on them

array('foo/bar' => 'abcd1234')

Return value

array<string, string>

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

File

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

Class

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

Namespace

Composer\Package

Code

public function getReferences() : array;
RSS feed
Powered by Drupal