mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-23 07:33:58 -06:00
31 lines
1.2 KiB
PHP
31 lines
1.2 KiB
PHP
<?php
|
|
use Acelaya\ZsmAnnotatedServices\Factory\V3\AnnotatedFactory;
|
|
use Shlinkio\Shlink\Rest\Action;
|
|
use Shlinkio\Shlink\Rest\Authentication\JWTService;
|
|
use Shlinkio\Shlink\Rest\Middleware;
|
|
use Shlinkio\Shlink\Rest\Service;
|
|
use Zend\ServiceManager\Factory\InvokableFactory;
|
|
|
|
return [
|
|
|
|
'dependencies' => [
|
|
'factories' => [
|
|
JWTService::class => AnnotatedFactory::class,
|
|
Service\ApiKeyService::class => AnnotatedFactory::class,
|
|
|
|
Action\AuthenticateAction::class => AnnotatedFactory::class,
|
|
Action\CreateShortcodeAction::class => AnnotatedFactory::class,
|
|
Action\ResolveUrlAction::class => AnnotatedFactory::class,
|
|
Action\GetVisitsAction::class => AnnotatedFactory::class,
|
|
Action\ListShortcodesAction::class => AnnotatedFactory::class,
|
|
Action\EditShortcodeTagsAction::class => AnnotatedFactory::class,
|
|
|
|
Middleware\BodyParserMiddleware::class => AnnotatedFactory::class,
|
|
Middleware\CrossDomainMiddleware::class => InvokableFactory::class,
|
|
Middleware\PathVersionMiddleware::class => InvokableFactory::class,
|
|
Middleware\CheckAuthenticationMiddleware::class => AnnotatedFactory::class,
|
|
],
|
|
],
|
|
|
|
];
|