class SubscriberBase

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/TestTools/Extension/HtmlLogging/SubscriberBase.php \Drupal\TestTools\Extension\HtmlLogging\SubscriberBase

Base class for PHPUnit event subscribers related to HTML logging.

@internal

Hierarchy

Expanded class hierarchy of SubscriberBase

File

core/tests/Drupal/TestTools/Extension/HtmlLogging/SubscriberBase.php, line 12

Namespace

Drupal\TestTools\Extension\HtmlLogging
View source
abstract class SubscriberBase {
  public function __construct(private readonly HtmlOutputLogger $logger) {
  }
  protected function logger() : HtmlOutputLogger {
    return $this->logger;
  }

}

Members

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

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