public function MockTestConnection::flushCommands 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::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;
}