You are here

public function SimpletestResultsForm::__construct in Drupal 8

Constructs a \Drupal\simpletest\Form\SimpletestResultsForm object.

Parameters

\Drupal\Core\Database\Connection $database: The database connection service.

File

core/modules/simpletest/src/Form/SimpletestResultsForm.php, line 64

Class

SimpletestResultsForm
Test results form for $test_id.

Namespace

Drupal\simpletest\Form

Code

public function __construct(Connection $database, EnvironmentCleanerInterface $cleaner) {
  $this->database = $database;
  $this->cleaner = $cleaner;
}