function MockTestConnection::flushCommands in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/src/Tests/FileTransfer/MockTestConnection.php \Drupal\system\Tests\FileTransfer\MockTestConnection::flushCommands()
File
- core/
modules/ system/ src/ Tests/ FileTransfer/ MockTestConnection.php, line 22 - Contains \Drupal\system\Tests\FileTransfer\MockTestConnection.
Class
- MockTestConnection
- Mock connection object for test case.
Namespace
Drupal\system\Tests\FileTransferCode
function flushCommands() {
$out = $this->commandsRun;
$this->commandsRun = array();
return $out;
}