Add date range filter to short url repository interface

This commit is contained in:
Alejandro Medina 2019-12-14 11:58:08 -03:00
parent c1741c99be
commit 1183d65184

View File

@ -5,6 +5,7 @@ declare(strict_types=1);
namespace Shlinkio\Shlink\Core\Repository;
use Doctrine\Common\Persistence\ObjectRepository;
use Shlinkio\Shlink\Common\Util\DateRange;
use Shlinkio\Shlink\Core\Entity\ShortUrl;
interface ShortUrlRepositoryInterface extends ObjectRepository
@ -19,7 +20,8 @@ interface ShortUrlRepositoryInterface extends ObjectRepository
?int $offset = null,
?string $searchTerm = null,
array $tags = [],
$orderBy = null
$orderBy = null,
?DateRange $dateRange = null
): array;
/**