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

Breadcrumb

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

function ArchiveManager::setOverwriteFiles

Set whether existing archives should be overwritten

Parameters

bool $overwriteFiles New setting:

Return value

$this

File

vendor/composer/composer/src/Composer/Package/Archiver/ArchiveManager.php, line 66

Class

ArchiveManager
@author Matthieu Moquet <matthieu@moquet.net> @author Till Klampaeckel <till@php.net>

Namespace

Composer\Package\Archiver

Code

public function setOverwriteFiles(bool $overwriteFiles) : self {
    $this->overwriteFiles = $overwriteFiles;
    return $this;
}

API Navigation

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