mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-25 10:20:18 -06:00
26 lines
600 B
PHP
26 lines
600 B
PHP
|
<?php
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
use Symfony\Component\Lock;
|
||
|
use Zend\ServiceManager\AbstractFactory\ConfigAbstractFactory;
|
||
|
|
||
|
return [
|
||
|
|
||
|
'locks' => [
|
||
|
'locks_dir' => __DIR__ . '/../../data/locks',
|
||
|
],
|
||
|
|
||
|
'dependencies' => [
|
||
|
'factories' => [
|
||
|
Lock\Store\FlockStore::class => ConfigAbstractFactory::class,
|
||
|
Lock\Factory::class => ConfigAbstractFactory::class,
|
||
|
],
|
||
|
],
|
||
|
|
||
|
ConfigAbstractFactory::class => [
|
||
|
Lock\Store\FlockStore::class => ['config.locks.locks_dir'],
|
||
|
Lock\Factory::class => [Lock\Store\FlockStore::class],
|
||
|
],
|
||
|
|
||
|
];
|