mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-17 16:42:12 +03:00
15 lines
286 B
PHP
15 lines
286 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace Shlinkio\Shlink\Core;
|
|
|
|
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));
|
|
}
|
|
}
|