You are here

static function StaticCallLog::setCallLog in X Autoload 7.5

Parameters

CallLog $callLog:

Throws

\Exception

2 calls to StaticCallLog::setCallLog()
DrupalBootHookTest::prepare in tests/src/DrupalBootTest/DrupalBootHookTest.php
setUp() does not help us because of the process sharing problem. So we use this instead.
DrupalBootTest::prepare in tests/src/DrupalBootTest/DrupalBootTest.php
setUp() does not help us because of the process sharing problem. So we use this instead.

File

tests/src/Util/StaticCallLog.php, line 19

Class

StaticCallLog

Namespace

Drupal\xautoload\Tests\Util

Code

static function setCallLog(CallLog $callLog) {
  if (isset(self::$callLog)) {
    throw new \Exception("StaticCallLog already initialized.");
  }
  self::$callLog = $callLog;
}