shlink/module/Core/src/ConfigProvider.php

16 lines
266 B
PHP
Raw Normal View History

2016-07-19 19:01:39 +03:00
<?php
2019-10-05 18:26:10 +03:00
2017-10-12 11:13:20 +03:00
declare(strict_types=1);
2016-07-19 19:01:39 +03:00
namespace Shlinkio\Shlink\Core;
use function Shlinkio\Shlink\Common\loadConfigFromGlob;
2016-07-19 19:01:39 +03:00
class ConfigProvider
{
public function __invoke()
{
return loadConfigFromGlob(__DIR__ . '/../config/{,*.}config.php');
2016-07-19 19:01:39 +03:00
}
}