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

Breadcrumb

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

function InstallerInterface::install

Installs specific package.

@phpstan-return PromiseInterface<void|null>|null

Parameters

InstalledRepositoryInterface $repo repository in which to check:

PackageInterface $package package instance:

Return value

PromiseInterface|null

4 methods override InstallerInterface::install()
LibraryInstaller::install in vendor/composer/composer/src/Composer/Installer/LibraryInstaller.php
@inheritDoc
MetapackageInstaller::install in vendor/composer/composer/src/Composer/Installer/MetapackageInstaller.php
@inheritDoc
NoopInstaller::install in vendor/composer/composer/src/Composer/Installer/NoopInstaller.php
@inheritDoc
ProjectInstaller::install in vendor/composer/composer/src/Composer/Installer/ProjectInstaller.php
@inheritDoc

File

vendor/composer/composer/src/Composer/Installer/InstallerInterface.php, line 79

Class

InstallerInterface
Interface for the package installation manager.

Namespace

Composer\Installer

Code

public function install(InstalledRepositoryInterface $repo, PackageInterface $package);

API Navigation

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