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

Breadcrumb

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

function PackageInterface::getRepository

Returns a reference to the repository that owns the package

Return value

?RepositoryInterface

1 method overrides PackageInterface::getRepository()
BasePackage::getRepository in vendor/composer/composer/src/Composer/Package/BasePackage.php
@inheritDoc

File

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

Class

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

Namespace

Composer\Package

Code

public function getRepository() : ?RepositoryInterface;

API Navigation

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