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-01 22:11:42 +03:00
|
|
|
Command\GenerateShortcodeCommand::class => AnnotatedFactory::class,
|
|
|
|
Command\ResolveUrlCommand::class => AnnotatedFactory::class,
|
|
|
|
Command\ListShortcodesCommand::class => AnnotatedFactory::class,
|
|
|
|
Command\GetVisitsCommand::class => AnnotatedFactory::class,
|
|
|
|
Command\ProcessVisitsCommand::class => AnnotatedFactory::class,
|
|
|
|
Command\ProcessVisitsCommand::class => AnnotatedFactory::class,
|
|
|
|
Command\Config\GenerateCharsetCommand::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
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
];
|