You are here

static function EnvironmentSnapshotMaker::takeSnapshot in X Autoload 7.5

Same name and namespace in other branches
  1. 7.4 lib/Drupal/xautoload/Tests/EnvironmentSnapshotMaker.php \Drupal\xautoload\Tests\EnvironmentSnapshotMaker::takeSnapshot()

Parameters

string $module:

string $phase:

string[] $classes:

4 calls to EnvironmentSnapshotMaker::takeSnapshot()
XAutoloadWebTestCase::xautoloadModuleEnabled in lib/Drupal/xautoload/Tests/XAutoloadWebTestCase.php
_xautoload_test_1_early_boot_observations in tests/test_1/xautoload_test_1.module
Test the current state, and remember it.
_xautoload_test_2_early_boot_observations in tests/test_2/xautoload_test_2.module
Test the current state, and remember it.
_xautoload_test_3_early_boot_observations in tests/test_3/xautoload_test_3.module
Test the current state, and remember it.

File

lib/Drupal/xautoload/Tests/EnvironmentSnapshotMaker.php, line 19

Class

EnvironmentSnapshotMaker

Namespace

Drupal\xautoload\Tests

Code

static function takeSnapshot($module, $phase, $classes) {
  self::$snapshots[$module][$phase] = self::buildSnapshot($classes);
}