final protected function __transferContext()

in src/core/Node.hack [556:565]


  final protected function __transferContext(
    KeyedContainer<string, mixed> $parentContext,
  ): void {
    foreach ($parentContext as $key => $value) {
      // You can't use ??= here, since context may contain nulls.
      if (!C\contains_key($this->context, $key)) {
        $this->context[$key] = $value;
      }
    }
  }