private static property RealisticDummyContentEnvironment::$env in Realistic Dummy Content 8.2
Same name and namespace in other branches
- 7.2 api/src/includes/RealisticDummyContentEnvironment.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentEnvironment::env
- 3.x api/src/includes/RealisticDummyContentEnvironment.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentEnvironment::env
Private variable containing the environment to use.
Calls are made directly to RealisticDummyContentEnvironment's static methods, which then forward them to the appropriate environment. The environment can be live, or simulated as during tests. This is a form of mocking. See http://en.wikipedia.org/wiki/Mock_object.
Type: object
File
- api/
src/ includes/ RealisticDummyContentEnvironment.php, line 24
Class
- RealisticDummyContentEnvironment
- The abstract base environment.
Namespace
Drupal\realistic_dummy_content_api\includesCode
private static $env;