public function FTP::__construct

Overrides Drupal\Core\FileTransfer\FileTransfer::__construct().

Overrides FileTransfer::__construct

File

drupal/core/lib/Drupal/Core/FileTransfer/FTP.php, line 18
Definition of Drupal\Core\FileTransfer\FTP.

Class

FTP
Defines the base class for FTP implementations.

Namespace

Drupal\Core\FileTransfer

Code

public function __construct($jail, $username, $password, $hostname, $port) {
  $this->username = $username;
  $this->password = $password;
  $this->hostname = $hostname;
  $this->port = $port;
  parent::__construct($jail);
}