2016-07-19 18:01:39 +02:00
|
|
|
<?php
|
|
|
|
use Acelaya\ZsmAnnotatedServices\Factory\V3\AnnotatedFactory;
|
2016-07-27 20:22:50 +02:00
|
|
|
use Shlinkio\Shlink\Core\Action\RedirectAction;
|
2016-07-19 18:01:39 +02:00
|
|
|
use Shlinkio\Shlink\Core\Service;
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
2016-07-31 16:30:05 +02:00
|
|
|
'dependencies' => [
|
2016-07-19 18:01:39 +02:00
|
|
|
'factories' => [
|
|
|
|
// Services
|
|
|
|
Service\UrlShortener::class => AnnotatedFactory::class,
|
|
|
|
Service\VisitsTracker::class => AnnotatedFactory::class,
|
|
|
|
Service\ShortUrlService::class => AnnotatedFactory::class,
|
2016-07-20 19:00:23 +02:00
|
|
|
Service\VisitService::class => AnnotatedFactory::class,
|
2016-07-19 18:01:39 +02:00
|
|
|
|
|
|
|
// Middleware
|
2016-07-27 20:22:50 +02:00
|
|
|
RedirectAction::class => AnnotatedFactory::class,
|
2016-07-19 18:01:39 +02:00
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
];
|