shlink/module/CLI/config/dependencies.config.php

28 lines
1.2 KiB
PHP
Raw Normal View History

<?php
use Acelaya\ZsmAnnotatedServices\Factory\V3\AnnotatedFactory;
2016-08-01 14:11:42 -05:00
use Shlinkio\Shlink\CLI\Command;
use Shlinkio\Shlink\CLI\Factory\ApplicationFactory;
use Symfony\Component\Console\Application;
return [
'dependencies' => [
'factories' => [
2016-08-01 14:11:42 -05:00
Application::class => ApplicationFactory::class,
2016-08-01 14:11:42 -05: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,
Command\Config\GenerateSecretCommand::class => AnnotatedFactory::class,
Command\Api\GenerateKeyCommand::class => AnnotatedFactory::class,
2016-08-06 11:26:07 -05:00
Command\Api\DisableKeyCommand::class => AnnotatedFactory::class,
2016-08-06 11:50:50 -05:00
Command\Api\ListKeysCommand::class => AnnotatedFactory::class,
],
],
];