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

Breadcrumb

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

function BasePackage::getRepository

@inheritDoc

Overrides PackageInterface::getRepository

1 call to BasePackage::getRepository()
BasePackage::isPlatform in vendor/composer/composer/src/Composer/Package/BasePackage.php
checks if this package is a platform package

File

vendor/composer/composer/src/Composer/Package/BasePackage.php, line 157

Class

BasePackage
Base class for packages providing name storage and default match implementation

Namespace

Composer\Package

Code

public function getRepository() : ?RepositoryInterface {
    return $this->repository;
}

API Navigation

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