You are here

public function TestLogger::__construct in Configuration selector 8

Same name and namespace in other branches
  1. 8.2 src/TestLogger.php \Drupal\config_selector\TestLogger::__construct()

TestLogger constructor.

File

src/TestLogger.php, line 21

Class

TestLogger
A test logger.

Namespace

Drupal\config_selector

Code

public function __construct() {
  if (empty(static::$logs)) {
    $this
      ->clear();
  }
}