18 lines
353 B
PHP
18 lines
353 B
PHP
|
|
<?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;
|
||
|
|
}
|
||
|
|
}
|