You are here

abstract public function FileTransfer::connect in Drupal 9

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

Connects to the server.

1 call to FileTransfer::connect()
FileTransfer::__get in core/lib/Drupal/Core/FileTransfer/FileTransfer.php
Implements the magic __get() method.
4 methods override FileTransfer::connect()
FTPExtension::connect in core/lib/Drupal/Core/FileTransfer/FTPExtension.php
Connects to the server.
Local::connect in core/lib/Drupal/Core/FileTransfer/Local.php
Connects to the server.
SSH::connect in core/lib/Drupal/Core/FileTransfer/SSH.php
Connects to the server.
TestFileTransfer::connect in core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php
Connects to the server.

File

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

Class

FileTransfer
Defines the base FileTransfer class.

Namespace

Drupal\Core\FileTransfer

Code

public abstract function connect();