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

Breadcrumb

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

function CompletePackageInterface::getAuthors

Returns an array of authors of the package

Each item can contain name/homepage/email keys

Return value

array<array{name?: string, homepage?: string, email?: string, role?: string}>

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

File

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

Class

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

Namespace

Composer\Package

Code

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