You are here

function ftp_connect in Flysystem 8

Same name and namespace in other branches
  1. 3.x tests/src/Unit/Flysystem/FtpTest.php \Drupal\Tests\flysystem\Unit\Flysystem\ftp_connect()
  2. 2.0.x tests/src/Unit/Flysystem/FtpTest.php \Drupal\Tests\flysystem\Unit\Flysystem\ftp_connect()
  3. 3.0.x tests/src/Unit/Flysystem/FtpTest.php \Drupal\Tests\flysystem\Unit\Flysystem\ftp_connect()

Stubs ftp_connect().

File

tests/src/Unit/Flysystem/FtpTest.php, line 86

Namespace

Drupal\Tests\flysystem\Unit\Flysystem

Code

function ftp_connect($host) {
  return $host === 'success';
}