function DrupalListener::__construct

Same name and namespace in other branches
  1. 10 core/tests/Drupal/Tests/Listeners/DrupalListener.php \Drupal\Tests\Listeners\DrupalListener::__construct()
  2. 11.x core/tests/Drupal/Tests/Listeners/DrupalListener.php \Drupal\Tests\Listeners\DrupalListener::__construct()

Constructs the DrupalListener object.

File

core/tests/Drupal/Tests/Listeners/DrupalListener.php, line 56

Class

DrupalListener
Listens to PHPUnit test runs.

Namespace

Drupal\Tests\Listeners

Code

public function __construct() {
    $this->symfonyListener = new SymfonyTestsListener();
}

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