function MockTestConnection::flushCommands

File

drupal/core/modules/system/lib/Drupal/system/Tests/FileTransfer/MockTestConnection.php, line 22
Definition of Drupal\system\Tests\FileTransfer\MockTestConnection.

Class

MockTestConnection
Mock connection object for test case.

Namespace

Drupal\system\Tests\FileTransfer

Code

function flushCommands() {
  $out = $this->commandsRun;
  $this->commandsRun = array();
  return $out;
}