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

Breadcrumb

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

function PackageInterface::getInstallationSource

Returns source from which this package was installed (source/dist).

@phpstan-return 'source'|'dist'|null

Return value

?string source/dist

2 methods override PackageInterface::getInstallationSource()
AliasPackage::getInstallationSource in vendor/composer/composer/src/Composer/Package/AliasPackage.php
Returns source from which this package was installed (source/dist).
Package::getInstallationSource in vendor/composer/composer/src/Composer/Package/Package.php
@inheritDoc

File

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

Class

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

Namespace

Composer\Package

Code

public function getInstallationSource() : ?string;

API Navigation

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