public function initialize()

in src/HHClientFallbackHandler.hack [86:104]


  public function initialize(): void {
    $data = $this->getCache();
    if ($data === null) {
      return;
    }
    if ($data['build_id'] !== Generated\build_id()) {
      $this->dirty = true;
      return;
    }
    $map = $data['map'];
    $this->map = $map;
    $map['failure'] = inst_meth($this, 'handleFailure');
    \HH\autoload_set_paths(
      /* HH_IGNORE_ERROR[4110] incorrect hhi */ $map,
      Generated\root(),
    );

    \register_shutdown_function(() ==> $this->storeCacheIfDirtyDirty());
  }