function MockTestConnection::flushCommands
Same name in other branches
- 9 core/modules/system/tests/src/Functional/FileTransfer/MockTestConnection.php \Drupal\Tests\system\Functional\FileTransfer\MockTestConnection::flushCommands()
- 8.9.x core/modules/system/tests/src/Functional/FileTransfer/MockTestConnection.php \Drupal\Tests\system\Functional\FileTransfer\MockTestConnection::flushCommands()
- 10 core/modules/system/tests/src/Functional/FileTransfer/MockTestConnection.php \Drupal\Tests\system\Functional\FileTransfer\MockTestConnection::flushCommands()
- 11.x core/modules/system/tests/src/Functional/FileTransfer/MockTestConnection.php \Drupal\Tests\system\Functional\FileTransfer\MockTestConnection::flushCommands()
File
-
modules/
simpletest/ tests/ filetransfer.test, line 164
Class
- MockTestConnection
- Mock connection object for test case.
Code
function flushCommands() {
$out = $this->commandsRun;
$this->commandsRun = array();
return $out;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.