mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-26 22:48:27 +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');
|
|
}
|
|
}
|