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

Breadcrumb

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

function ConfigSourceInterface::addRepository

Add a repository

Parameters

string $name Name:

mixed[]|false $config Configuration:

bool $append Whether the repo should be appended (true) or prepended (false):

1 method overrides ConfigSourceInterface::addRepository()
JsonConfigSource::addRepository in vendor/composer/composer/src/Composer/Config/JsonConfigSource.php
@inheritDoc

File

vendor/composer/composer/src/Composer/Config/ConfigSourceInterface.php, line 30

Class

ConfigSourceInterface
Configuration Source Interface

Namespace

Composer\Config

Code

public function addRepository(string $name, $config, bool $append = true) : void;

API Navigation

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