You are here

static function Environment::Set in Realistic Dummy Content 8

Set the current environment

See the comment on the private variable $env.

Parameters

$environment: An object of type Environment

File

api/src/environments/Environment.php, line 56
Define autoload class.

Class

Environment
The abstract base environment.

Namespace

Drupal\realistic_dummy_content_api\environments

Code

static function Set($environment) {
  self::$env = $environment;
}