public function TestFileTransfer::createDirectoryJailed in Drupal 9
Same name and namespace in other branches
- 8 core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php \Drupal\Tests\system\Functional\FileTransfer\TestFileTransfer::createDirectoryJailed()
Creates a directory.
Parameters
string $directory: The directory to be created.
Overrides FileTransfer::createDirectoryJailed
File
- core/
modules/ system/ tests/ src/ Functional/ FileTransfer/ TestFileTransfer.php, line 44
Class
- TestFileTransfer
- Mock FileTransfer object for test case.
Namespace
Drupal\Tests\system\Functional\FileTransferCode
public function createDirectoryJailed($directory) {
$this->connection
->run("mkdir {$directory}");
}