mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-29 20:14:15 -06:00
28 lines
901 B
PHP
28 lines
901 B
PHP
<?php
|
|
use Acelaya\ZsmAnnotatedServices\Factory\V3\AnnotatedFactory;
|
|
use Shlinkio\Shlink\Core\Action;
|
|
use Shlinkio\Shlink\Core\Middleware;
|
|
use Shlinkio\Shlink\Core\Options\AppOptions;
|
|
use Shlinkio\Shlink\Core\Service;
|
|
|
|
return [
|
|
|
|
'dependencies' => [
|
|
'factories' => [
|
|
AppOptions::class => AnnotatedFactory::class,
|
|
|
|
// Services
|
|
Service\UrlShortener::class => AnnotatedFactory::class,
|
|
Service\VisitsTracker::class => AnnotatedFactory::class,
|
|
Service\ShortUrlService::class => AnnotatedFactory::class,
|
|
Service\VisitService::class => AnnotatedFactory::class,
|
|
|
|
// Middleware
|
|
Action\RedirectAction::class => AnnotatedFactory::class,
|
|
Action\QrCodeAction::class => AnnotatedFactory::class,
|
|
Middleware\QrCodeCacheMiddleware::class => AnnotatedFactory::class,
|
|
],
|
|
],
|
|
|
|
];
|