function MockTestConnection::flushCommands

File

core/modules/system/tests/src/Functional/FileTransfer/MockTestConnection.php, line 19

Class

MockTestConnection
Mock connection object for test case.

Namespace

Drupal\Tests\system\Functional\FileTransfer

Code

public function flushCommands() {
  $out = $this->commandsRun;
  $this->commandsRun = [];
  return $out;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.