FileTransfer::__construct

FileTransfer::__construct($jail)

Constructs a Drupal\Core\FileTransfer\FileTransfer object.

Parameters

$jail: The full path where all file operations performed by this object will be restricted to. This prevents the FileTransfer classes from being able to touch other parts of the filesystem.

File

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

Class

FileTransfer
Defines the base FileTransfer class.

Namespace

Drupal\Core\FileTransfer

Code

function __construct($jail) {
  $this->jail = $jail;
}
doc_Drupal
2016-10-29 09:14:02
Comments
Leave a Comment

Please login to continue.