Create command to edit existing short URLs

This commit is contained in:
Alejandro Celaya
2024-07-26 09:20:03 +02:00
parent 8917ed5c2e
commit 5bccdded8a
4 changed files with 73 additions and 82 deletions

View File

@@ -93,7 +93,7 @@ return [
ShortUrlStringifier::class,
UrlShortenerOptions::class,
],
Command\ShortUrl\EditShortUrlCommand::class => [ShortUrl\ShortUrlService::class],
Command\ShortUrl\EditShortUrlCommand::class => [ShortUrl\ShortUrlService::class, ShortUrlStringifier::class],
Command\ShortUrl\ResolveUrlCommand::class => [ShortUrl\ShortUrlResolver::class],
Command\ShortUrl\ListShortUrlsCommand::class => [
ShortUrl\ShortUrlListService::class,