protected property TestDiscoveryCacheContext::$hash in Drupal 8
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\ContextCode
protected $hash;