2016-07-19 11:01:39 -05:00
|
|
|
<?php
|
|
|
|
use Acelaya\ZsmAnnotatedServices\Factory\V3\AnnotatedFactory;
|
2016-08-09 03:24:42 -05:00
|
|
|
use Shlinkio\Shlink\Core\Action;
|
2016-08-09 06:41:30 -05:00
|
|
|
use Shlinkio\Shlink\Core\Middleware;
|
2016-08-15 16:40:49 -05:00
|
|
|
use Shlinkio\Shlink\Core\Options;
|
2016-07-19 11:01:39 -05:00
|
|
|
use Shlinkio\Shlink\Core\Service;
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
2016-07-31 09:30:05 -05:00
|
|
|
'dependencies' => [
|
2016-07-19 11:01:39 -05:00
|
|
|
'factories' => [
|
2016-08-15 16:40:49 -05:00
|
|
|
Options\AppOptions::class => Options\AppOptionsFactory::class,
|
2016-08-07 07:44:33 -05:00
|
|
|
|
2016-07-19 11:01:39 -05:00
|
|
|
// Services
|
|
|
|
Service\UrlShortener::class => AnnotatedFactory::class,
|
|
|
|
Service\VisitsTracker::class => AnnotatedFactory::class,
|
|
|
|
Service\ShortUrlService::class => AnnotatedFactory::class,
|
2016-07-20 12:00:23 -05:00
|
|
|
Service\VisitService::class => AnnotatedFactory::class,
|
2017-07-07 05:49:41 -05:00
|
|
|
Service\Tag\TagService::class => AnnotatedFactory::class,
|
2016-07-19 11:01:39 -05:00
|
|
|
|
|
|
|
// Middleware
|
2016-08-09 03:24:42 -05:00
|
|
|
Action\RedirectAction::class => AnnotatedFactory::class,
|
|
|
|
Action\QrCodeAction::class => AnnotatedFactory::class,
|
2016-08-18 04:10:15 -05:00
|
|
|
Action\PreviewAction::class => AnnotatedFactory::class,
|
2016-08-09 06:41:30 -05:00
|
|
|
Middleware\QrCodeCacheMiddleware::class => AnnotatedFactory::class,
|
2016-07-19 11:01:39 -05:00
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
];
|