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

Breadcrumb

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

function CompletePackageInterface::getFunding

Returns an array of funding options for the package

Each item will contain type and url keys

Return value

array<array{type?: string, url?: string}>

2 methods override CompletePackageInterface::getFunding()
CompleteAliasPackage::getFunding in vendor/composer/composer/src/Composer/Package/CompleteAliasPackage.php
Returns an array of funding options for the package
CompletePackage::getFunding in vendor/composer/composer/src/Composer/Package/CompletePackage.php
@inheritDoc

File

vendor/composer/composer/src/Composer/Package/CompletePackageInterface.php, line 139

Class

CompletePackageInterface
Defines package metadata that is not necessarily needed for solving and installing packages

Namespace

Composer\Package

Code

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