mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-05 14:53:12 +08:00
16 lines
285 B
PHP
16 lines
285 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace Shlinkio\Shlink\CLI;
|
|
|
|
use Zend\Config\Factory;
|
|
use Zend\Stdlib\Glob;
|
|
|
|
class ConfigProvider
|
|
{
|
|
public function __invoke()
|
|
{
|
|
return Factory::fromFiles(Glob::glob(__DIR__ . '/../config/{,*.}config.php', Glob::GLOB_BRACE));
|
|
}
|
|
}
|