mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-24 05:38:06 +03:00
37 lines
926 B
PHP
37 lines
926 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Laminas\ServiceManager\Proxy\LazyServiceFactory;
|
|
use Shlinkio\Shlink\Common\Mercure\LcobucciJwtProvider;
|
|
use Symfony\Component\Mercure\Publisher;
|
|
use Symfony\Component\Mercure\PublisherInterface;
|
|
|
|
return [
|
|
|
|
'mercure' => [
|
|
'public_hub_url' => null,
|
|
'internal_hub_url' => null,
|
|
'jwt_secret' => null,
|
|
'jwt_days_duration' => 5,
|
|
'jwt_issuer' => 'Shlink',
|
|
],
|
|
|
|
'dependencies' => [
|
|
'delegators' => [
|
|
LcobucciJwtProvider::class => [
|
|
LazyServiceFactory::class,
|
|
],
|
|
Publisher::class => [
|
|
LazyServiceFactory::class,
|
|
],
|
|
],
|
|
'lazy_services' => [
|
|
'class_map' => [
|
|
LcobucciJwtProvider::class => LcobucciJwtProvider::class,
|
|
Publisher::class => PublisherInterface::class,
|
|
],
|
|
],
|
|
],
|
|
|
|
];
|