You are here

protected property ClassLoaderTest::$apcuEnsureUniquePrefix in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/src/Functional/Module/ClassLoaderTest.php \Drupal\Tests\system\Functional\Module\ClassLoaderTest::apcuEnsureUniquePrefix
  2. 9 core/modules/system/tests/src/Functional/Module/ClassLoaderTest.php \Drupal\Tests\system\Functional\Module\ClassLoaderTest::apcuEnsureUniquePrefix

The flag to set 'apcu_ensure_unique_prefix' setting.

Wide use of a unique prefix can lead to problems with memory, if tests are run with a concurrency higher than 1. Therefore, FALSE by default.

Type: bool

Overrides FunctionalTestSetupTrait::$apcuEnsureUniquePrefix

See also

\Drupal\Core\Site\Settings::getApcuPrefix().

File

core/modules/system/tests/src/Functional/Module/ClassLoaderTest.php, line 25

Class

ClassLoaderTest
Tests class loading for modules.

Namespace

Drupal\Tests\system\Functional\Module

Code

protected $apcuEnsureUniquePrefix = TRUE;