mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-17 08:32:04 +03:00
15 lines
273 B
PHP
15 lines
273 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Shlinkio\Shlink\Core;
|
|
|
|
use function Shlinkio\Shlink\Config\loadConfigFromGlob;
|
|
|
|
class ConfigProvider
|
|
{
|
|
public function __invoke(): array
|
|
{
|
|
return loadConfigFromGlob(__DIR__ . '/../config/{,*.}config.php');
|
|
}
|
|
}
|