GenericCacheBackendUnitTestBase::$testObjectProperties

Most cache backends ensure changes to objects do not affect the cache.

Some caches explicitly allow this, for example, \Drupal\Core\Cache\MemoryCache\MemoryCache.

Type: bool

File

core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php, line 52

Class

GenericCacheBackendUnitTestBase
Tests any cache backend.

Namespace

Drupal\KernelTests\Core\Cache

Code

protected bool $testObjectProperties = TRUE;

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