function FileTransfer::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::__construct()
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.
3 calls to FileTransfer::__construct()
- FTP::__construct in core/
lib/ Drupal/ Core/ FileTransfer/ FTP.php - Constructs a Drupal\Core\FileTransfer\FileTransfer object.
- SSH::__construct in core/
lib/ Drupal/ Core/ FileTransfer/ SSH.php - Constructs a Drupal\Core\FileTransfer\FileTransfer object.
- TestFileTransfer::__construct in core/
modules/ system/ src/ Tests/ FileTransfer/ TestFileTransfer.php - Constructs a Drupal\Core\FileTransfer\FileTransfer object.
3 methods override FileTransfer::__construct()
- FTP::__construct in core/
lib/ Drupal/ Core/ FileTransfer/ FTP.php - Constructs a Drupal\Core\FileTransfer\FileTransfer object.
- SSH::__construct in core/
lib/ Drupal/ Core/ FileTransfer/ SSH.php - Constructs a Drupal\Core\FileTransfer\FileTransfer object.
- TestFileTransfer::__construct in core/
modules/ system/ src/ Tests/ FileTransfer/ TestFileTransfer.php - Constructs a Drupal\Core\FileTransfer\FileTransfer object.
File
- core/
lib/ Drupal/ Core/ FileTransfer/ FileTransfer.php, line 57 - Contains \Drupal\Core\FileTransfer\FileTransfer.
Class
- FileTransfer
- Defines the base FileTransfer class.
Namespace
Drupal\Core\FileTransferCode
function __construct($jail) {
$this->jail = $jail;
}