shlink/module/CLI/config/services.config.php
2016-07-20 19:00:23 +02:00

20 lines
682 B
PHP

<?php
use Acelaya\ZsmAnnotatedServices\Factory\V3\AnnotatedFactory;
use Shlinkio\Shlink\CLI;
use Symfony\Component\Console;
return [
'services' => [
'factories' => [
Console\Application::class => CLI\Factory\ApplicationFactory::class,
CLI\Command\GenerateShortcodeCommand::class => AnnotatedFactory::class,
CLI\Command\ResolveUrlCommand::class => AnnotatedFactory::class,
CLI\Command\ListShortcodesCommand::class => AnnotatedFactory::class,
CLI\Command\GetVisitsCommand::class => AnnotatedFactory::class,
CLI\Command\ProcessVisitsCommand::class => AnnotatedFactory::class,
],
],
];