mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-29 01:18:59 +03:00
21 lines
621 B
PHP
21 lines
621 B
PHP
<?php
|
|
use Acelaya\ZsmAnnotatedServices\Factory\V3\AnnotatedFactory;
|
|
use Shlinkio\Shlink\Core\Action\RedirectAction;
|
|
use Shlinkio\Shlink\Core\Service;
|
|
|
|
return [
|
|
|
|
'dependencies' => [
|
|
'factories' => [
|
|
// Services
|
|
Service\UrlShortener::class => AnnotatedFactory::class,
|
|
Service\VisitsTracker::class => AnnotatedFactory::class,
|
|
Service\ShortUrlService::class => AnnotatedFactory::class,
|
|
Service\VisitService::class => AnnotatedFactory::class,
|
|
|
|
// Middleware
|
|
RedirectAction::class => AnnotatedFactory::class,
|
|
],
|
|
],
|
|
|
|
];
|