<?php

// TODO: ...
class Config
{
    public array $config;

    public function __construct(string $path)
    {
        if (!file_exists($path))
        {
            throw new Exception("Could not find configuration file: $path");
        }
        $this->config = require $path;
    }
}