shlink/module/Core/src/ConfigProvider.php

16 lines
273 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\Config\loadConfigFromGlob;
2016-07-19 19:01:39 +03:00
class ConfigProvider
{
2020-01-01 22:48:31 +03:00
public function __invoke(): array
2016-07-19 19:01:39 +03:00
{
return loadConfigFromGlob(__DIR__ . '/../config/{,*.}config.php');
2016-07-19 19:01:39 +03:00
}
}