2016-04-10 10:38:07 +03:00
|
|
|
<?php
|
2019-10-05 18:26:10 +03:00
|
|
|
|
2017-10-12 10:40:42 +03:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2020-10-22 19:12:22 +03:00
|
|
|
use GuzzleHttp\Client;
|
2020-01-01 23:11:53 +03:00
|
|
|
use Mezzio\Container;
|
2020-10-22 19:12:22 +03:00
|
|
|
use Psr\Http\Client\ClientInterface;
|
2016-04-10 10:38:07 +03:00
|
|
|
|
|
|
|
return [
|
|
|
|
|
2016-07-31 17:30:05 +03:00
|
|
|
'dependencies' => [
|
2018-03-26 19:49:28 +03:00
|
|
|
'delegators' => [
|
2020-01-01 23:11:53 +03:00
|
|
|
Mezzio\Application::class => [
|
2018-03-26 19:49:28 +03:00
|
|
|
Container\ApplicationConfigInjectionDelegator::class,
|
|
|
|
],
|
2018-03-26 18:53:22 +03:00
|
|
|
],
|
2018-11-12 22:22:42 +03:00
|
|
|
|
2020-10-22 19:12:22 +03:00
|
|
|
'aliases' => [
|
|
|
|
ClientInterface::class => Client::class,
|
|
|
|
],
|
|
|
|
|
2018-11-12 22:22:42 +03:00
|
|
|
'lazy_services' => [
|
|
|
|
'proxies_target_dir' => 'data/proxies',
|
|
|
|
'proxies_namespace' => 'ShlinkProxy',
|
|
|
|
'write_proxy_files' => true,
|
|
|
|
],
|
2016-04-10 10:38:07 +03:00
|
|
|
],
|
|
|
|
|
|
|
|
];
|