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

Breadcrumb

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

function Application::resetComposer

Removes the cached composer instance

File

vendor/composer/composer/src/Composer/Console/Application.php, line 570

Class

Application
The console application that handles the commands

Namespace

Composer\Console

Code

public function resetComposer() : void {
    $this->composer = null;
    if (method_exists($this->getIO(), 'resetAuthentications')) {
        $this->getIO()
            ->resetAuthentications();
    }
}

API Navigation

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