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

Breadcrumb

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

function SelfUpdateCommand::getOldInstallationFinder

2 calls to SelfUpdateCommand::getOldInstallationFinder()
SelfUpdateCommand::cleanBackups in vendor/composer/composer/src/Composer/Command/SelfUpdateCommand.php
SelfUpdateCommand::getLastBackupVersion in vendor/composer/composer/src/Composer/Command/SelfUpdateCommand.php

File

vendor/composer/composer/src/Composer/Command/SelfUpdateCommand.php, line 528

Class

SelfUpdateCommand
@author Igor Wiedler <igor@wiedler.ch> @author Kevin Ran <kran@adobe.com> @author Jordi Boggiano <j.boggiano@seld.be>

Namespace

Composer\Command

Code

protected function getOldInstallationFinder(string $rollbackDir) : Finder {
    return Finder::create()->depth(0)
        ->files()
        ->name('*' . self::OLD_INSTALL_EXT)
        ->in($rollbackDir);
}

API Navigation

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