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

Breadcrumb

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

function PackageInterface::getSuggests

Returns a set of package names and reasons why they are useful in combination with this package.

@phpstan-return array<string, string>

Return value

array An array of package suggestions with descriptions

2 methods override PackageInterface::getSuggests()
AliasPackage::getSuggests in vendor/composer/composer/src/Composer/Package/AliasPackage.php
Returns a set of package names and reasons why they are useful in combination with this package.
Package::getSuggests in vendor/composer/composer/src/Composer/Package/Package.php
@inheritDoc

File

vendor/composer/composer/src/Composer/Package/PackageInterface.php, line 290

Class

PackageInterface
Defines the essential information a package has that is used during solving/installation

Namespace

Composer\Package

Code

public function getSuggests() : array;

API Navigation

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