TestDiscoveryCacheContext::$hash

The hash of discovered test information.

Services should not be stateful, but we only keep this information per request. That way we don't perform a file scan every time we need this hash. The test scan results are unlikely to change during the request.

Type: string

File

core/modules/simpletest/src/Cache/Context/TestDiscoveryCacheContext.php, line 41

Class

TestDiscoveryCacheContext
Defines the TestDiscoveryCacheContext service.

Namespace

Drupal\simpletest\Cache\Context

Code

protected $hash;

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