shlink/module/Core/src/ConfigProvider.php
2017-10-12 10:13:20 +02:00

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));
}
}