mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-30 19:36:40 +03:00
23 lines
429 B
PHP
23 lines
429 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
use Cocur\Slugify\Slugify;
|
|
use Zend\ServiceManager\AbstractFactory\ConfigAbstractFactory;
|
|
|
|
return [
|
|
|
|
'slugify_options' => [
|
|
'lowercase' => false,
|
|
],
|
|
|
|
'dependencies' => [
|
|
'factories' => [
|
|
Slugify::class => ConfigAbstractFactory::class,
|
|
],
|
|
],
|
|
|
|
ConfigAbstractFactory::class => [
|
|
Slugify::class => ['config.slugify_options'],
|
|
],
|
|
|
|
];
|