PluginManagerCacheClearer::$optionalService

Same name in other branches
  1. 10 core/modules/system/tests/modules/module_test/src/PluginManagerCacheClearer.php \Drupal\module_test\PluginManagerCacheClearer::optionalService
  2. 11.x core/modules/system/tests/modules/module_test/src/PluginManagerCacheClearer.php \Drupal\module_test\PluginManagerCacheClearer::optionalService

An optional service dependency.

Type: object|null

File

core/modules/system/tests/modules/module_test/src/PluginManagerCacheClearer.php, line 23

Class

PluginManagerCacheClearer
Helps test module uninstall.

Namespace

Drupal\module_test

Code

protected $optionalService;

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