public function loadFrom(string $path): void
    {
        $this->path = $path;

        if (is_file($path)) {
            $this->data = require $path;

            if (!is_array($this->data)) {
                throw new ConfigException("Config loaded from path={$path} is not an array");
            }

            $this->loadedAt = time();
        } else {
            throw new ConfigException('Unable to load config from path=' . $path);
        }
    }