SubscriberBase.php

Namespace

Drupal\TestTools\Extension\HtmlLogging

File

core/tests/Drupal/TestTools/Extension/HtmlLogging/SubscriberBase.php

View source
<?php

declare (strict_types=1);
namespace Drupal\TestTools\Extension\HtmlLogging;


/**
 * Base class for PHPUnit event subscribers related to HTML logging.
 *
 * @internal
 */
abstract class SubscriberBase {
    public function __construct(HtmlOutputLogger $logger) {
    }
    protected function logger() : HtmlOutputLogger {
        return $this->logger;
    }

}

Classes

Title Deprecated Summary
SubscriberBase Base class for PHPUnit event subscribers related to HTML logging.

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