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