attach static method

void attach(
  1. Environment environment
)

Attaches a global Environment instance to this property source.

Must be called before accessing environment.

Implementation

static void attach(Environment environment) {
  _environment = environment;
}