You are here

function MockTestConnection::run in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/system/src/Tests/FileTransfer/MockTestConnection.php \Drupal\system\Tests\FileTransfer\MockTestConnection::run()

File

core/modules/system/src/Tests/FileTransfer/MockTestConnection.php, line 18
Contains \Drupal\system\Tests\FileTransfer\MockTestConnection.

Class

MockTestConnection
Mock connection object for test case.

Namespace

Drupal\system\Tests\FileTransfer

Code

function run($cmd) {
  $this->commandsRun[] = $cmd;
}