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

Breadcrumb

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

function Config::all

Return value

array<string, mixed[]>

File

vendor/composer/composer/src/Composer/Config.php, line 479

Class

Config
@author Jordi Boggiano <j.boggiano@seld.be>

Namespace

Composer

Code

public function all(int $flags = 0) : array {
    $all = [
        'repositories' => $this->getRepositories(),
    ];
    foreach (array_keys($this->config) as $key) {
        $all['config'][$key] = $this->get($key, $flags);
    }
    return $all;
}
RSS feed
Powered by Drupal