You are here

abstract protected function FileTransfer::copyFileJailed in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::copyFileJailed()
  2. 9 core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::copyFileJailed()

Copies a file.

Parameters

string $source: The source file.

string $destination: The destination file.

2 methods override FileTransfer::copyFileJailed()
Local::copyFileJailed in core/lib/Drupal/Core/FileTransfer/Local.php
Copies a file.
TestFileTransfer::copyFileJailed in core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php
Copies a file.

File

core/lib/Drupal/Core/FileTransfer/FileTransfer.php, line 313

Class

FileTransfer
Defines the base FileTransfer class.

Namespace

Drupal\Core\FileTransfer

Code

protected abstract function copyFileJailed($source, $destination);