function SimpletestResultsForm::__construct

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;
}

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