mirror of
https://github.com/shlinkio/shlink.git
synced 2025-01-05 19:37:33 +03:00
15 lines
272 B
PHP
15 lines
272 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Shlinkio\Shlink\CLI;
|
|
|
|
use function Shlinkio\Shlink\Config\loadConfigFromGlob;
|
|
|
|
class ConfigProvider
|
|
{
|
|
public function __invoke(): array
|
|
{
|
|
return loadConfigFromGlob(__DIR__ . '/../config/{,*.}config.php');
|
|
}
|
|
}
|