public function MockTestConnection::run in Drupal 9
Same name and namespace in other branches
- 8 core/modules/system/tests/src/Functional/FileTransfer/MockTestConnection.php \Drupal\Tests\system\Functional\FileTransfer\MockTestConnection::run()
File
- core/
modules/ system/ tests/ src/ Functional/ FileTransfer/ MockTestConnection.php, line 13
Class
- MockTestConnection
- Mock connection object for test case.
Namespace
Drupal\Tests\system\Functional\FileTransferCode
public function run($cmd) {
$this->commandsRun[] = $cmd;
}