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\UtilCode
public function copy(string $originUrl, string $fileUrl, string $fileName, bool $progress = true, array $options = []) {
return $this->get($originUrl, $fileUrl, $options, $fileName, $progress);
}