Renamed ShortUrl::fromMeta to ShortUrl::create

This commit is contained in:
Alejandro Celaya
2022-12-11 18:24:47 +01:00
parent 201f25e0ad
commit c4f28b3a32
17 changed files with 94 additions and 82 deletions

View File

@@ -77,6 +77,18 @@ class ListShortUrlsCommand extends Command
InputOption::VALUE_NONE,
'If tags is provided, returns only short URLs having ALL tags.',
)
->addOption(
'exclude-max-visits-reached',
null, // TODO
InputOption::VALUE_NONE,
'Excludes short URLs which reached their max amount of visits.',
)
->addOption(
'exclude-past-valid-until',
null, // TODO
InputOption::VALUE_NONE,
'Excludes short URLs which have a "validUntil" date in the past.',
)
->addOption(
'order-by',
'o',