reports/src/Core/App.php

18 lines
353 B
PHP
Raw Normal View History

<?php declare(strict_types=1);
namespace Nechaev\Reports\Core;
/**
* Class App
* @package Nechaev\Reports\Core
*/
final class App {
private static Config|null $config = null;
public static function getConfig() {
if (self::$config === null) {
self::$config = new Config();
}
return self::$config;
}
}