Added shortUrl field to serialized ShortUrl objects, both from CLI and REST

This commit is contained in:
Alejandro Celaya committed 2018-08-10 23:14:45 +02:00
1 parent 30297ac5ac
commit 2d6d35a398
12 files changed
+144 -44

No files matched your search

+5 -1
View File
@@ -42,7 +42,11 @@ return [
'config.url_shortener.domain',
],
Command\Shortcode\ResolveUrlCommand::class => [Service\UrlShortener::class, 'translator'],
Command\Shortcode\ListShortcodesCommand::class => [Service\ShortUrlService::class, 'translator'],
Command\Shortcode\ListShortcodesCommand::class => [
Service\ShortUrlService::class,
'translator',
'config.url_shortener.domain',
],
Command\Shortcode\GetVisitsCommand::class => [Service\VisitsTracker::class, 'translator'],
Command\Shortcode\GeneratePreviewCommand::class => [
Service\ShortUrlService::class,