rootInternalPathCallback = $rootInternalPathCallback; } public function getRootInternalPath(): string { if ($this->rootInternalPath === self::PATH_PLACEHOLDER) { $this->rootInternalPath = ($this->rootInternalPathCallback)($this); } return $this->rootInternalPath; } }