You are here

private static property RealisticDummyContentEnvironment::$env in Realistic Dummy Content 3.x

Same name and namespace in other branches
  1. 8.2 api/src/includes/RealisticDummyContentEnvironment.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentEnvironment::env
  2. 7.2 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: null|object

File

api/src/includes/RealisticDummyContentEnvironment.php, line 24

Class

RealisticDummyContentEnvironment
The abstract base environment.

Namespace

Drupal\realistic_dummy_content_api\includes

Code

private static $env;