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

Breadcrumb

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

function CompletePackageInterface::setAuthors

Set the authors

Parameters

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

2 methods override CompletePackageInterface::setAuthors()
CompleteAliasPackage::setAuthors in vendor/composer/composer/src/Composer/Package/CompleteAliasPackage.php
Set the authors
CompletePackage::setAuthors in vendor/composer/composer/src/Composer/Package/CompletePackage.php
@inheritDoc

File

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

Class

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

Namespace

Composer\Package

Code

public function setAuthors(array $authors) : void;
RSS feed
Powered by Drupal