class TestRunnerStartedSubscriber

Event subscriber notifying beginning of test runner to HTML logging.

@internal

Hierarchy

  • class \Drupal\TestTools\Extension\HtmlLogging\SubscriberBase
    • class \Drupal\TestTools\Extension\HtmlLogging\TestRunnerStartedSubscriber extends \Drupal\TestTools\Extension\HtmlLogging\SubscriberBase implements \PHPUnit\Event\TestRunner\StartedSubscriber

Expanded class hierarchy of TestRunnerStartedSubscriber

File

core/tests/Drupal/TestTools/Extension/HtmlLogging/TestRunnerStartedSubscriber.php, line 15

Namespace

Drupal\TestTools\Extension\HtmlLogging
View source
final class TestRunnerStartedSubscriber extends SubscriberBase implements StartedSubscriber {
    public function notify(Started $event) : void {
        $this->logger()
            ->testRunnerStarted($event);
    }

}

Members

Title Sort descending Modifiers Object type Summary
SubscriberBase::logger protected function
SubscriberBase::__construct public function
TestRunnerStartedSubscriber::notify public function

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