function FileTransfer::__isset

Same name in other branches
  1. 9 core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::__isset()
  2. 11.x core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::__isset()

File

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

Class

FileTransfer
Defines the base FileTransfer class.

Namespace

Drupal\Core\FileTransfer

Code

public function __isset(string $name) : bool {
    if ($name == 'connection') {
        return isset($this->connection);
    }
    if ($name == 'chroot') {
        return isset($this->chroot);
    }
    return FALSE;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.