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

Breadcrumb

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

function RemoteFilesystem::copy

Copy the remote file in local.

Parameters

string $originUrl The origin URL:

non-empty-string $fileUrl The file URL:

string $fileName the local filename:

bool $progress Display the progression:

mixed[] $options Additional context options:

Return value

bool true

File

vendor/composer/composer/src/Composer/Util/RemoteFilesystem.php, line 105

Class

RemoteFilesystem
@internal @author François Pluchino <francois.pluchino@opendisplay.com> @author Jordi Boggiano <j.boggiano@seld.be> @author Nils Adermann <naderman@naderman.de>

Namespace

Composer\Util

Code

public function copy(string $originUrl, string $fileUrl, string $fileName, bool $progress = true, array $options = []) {
    return $this->get($originUrl, $fileUrl, $options, $fileName, $progress);
}

API Navigation

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