2016-07-19 18:17:37 +03:00
|
|
|
<?php
|
|
|
|
use Acelaya\ZsmAnnotatedServices\Factory\V3\AnnotatedFactory;
|
2016-08-01 22:11:42 +03:00
|
|
|
use Shlinkio\Shlink\CLI\Command;
|
|
|
|
use Shlinkio\Shlink\CLI\Factory\ApplicationFactory;
|
|
|
|
use Symfony\Component\Console\Application;
|
2016-07-19 18:17:37 +03:00
|
|
|
|
|
|
|
return [
|
|
|
|
|
2016-07-31 17:30:05 +03:00
|
|
|
'dependencies' => [
|
2016-07-19 18:17:37 +03:00
|
|
|
'factories' => [
|
2016-08-01 22:11:42 +03:00
|
|
|
Application::class => ApplicationFactory::class,
|
2016-07-19 18:17:37 +03:00
|
|
|
|
2016-08-08 10:36:52 +03:00
|
|
|
Command\Shortcode\GenerateShortcodeCommand::class => AnnotatedFactory::class,
|
|
|
|
Command\Shortcode\ResolveUrlCommand::class => AnnotatedFactory::class,
|
|
|
|
Command\Shortcode\ListShortcodesCommand::class => AnnotatedFactory::class,
|
|
|
|
Command\Shortcode\GetVisitsCommand::class => AnnotatedFactory::class,
|
2016-08-18 13:21:26 +03:00
|
|
|
Command\Shortcode\GeneratePreviewCommand::class => AnnotatedFactory::class,
|
2016-08-08 10:38:50 +03:00
|
|
|
Command\Visit\ProcessVisitsCommand::class => AnnotatedFactory::class,
|
2016-08-01 22:11:42 +03:00
|
|
|
Command\Config\GenerateCharsetCommand::class => AnnotatedFactory::class,
|
2016-08-07 21:30:19 +03:00
|
|
|
Command\Config\GenerateSecretCommand::class => AnnotatedFactory::class,
|
2016-08-06 19:07:48 +03:00
|
|
|
Command\Api\GenerateKeyCommand::class => AnnotatedFactory::class,
|
2016-08-06 19:26:07 +03:00
|
|
|
Command\Api\DisableKeyCommand::class => AnnotatedFactory::class,
|
2016-08-06 19:50:50 +03:00
|
|
|
Command\Api\ListKeysCommand::class => AnnotatedFactory::class,
|
2016-07-19 18:17:37 +03:00
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
];
|