From bf6c0346d8d35a719dd1bff1cb4d573d422f99ff Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 31 May 2017 09:31:18 +0200 Subject: WIP Signed-off-by: Thomas Citharel --- .../CoreBundle/Repository/ChangeRepository.php | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/Wallabag/CoreBundle/Repository/ChangeRepository.php (limited to 'src/Wallabag/CoreBundle/Repository/ChangeRepository.php') diff --git a/src/Wallabag/CoreBundle/Repository/ChangeRepository.php b/src/Wallabag/CoreBundle/Repository/ChangeRepository.php new file mode 100644 index 00000000..18d015a7 --- /dev/null +++ b/src/Wallabag/CoreBundle/Repository/ChangeRepository.php @@ -0,0 +1,26 @@ +setTimestamp($timestamp); + + return $this->createQueryBuilder('c') + ->where('c.createdAt >= :timestamp')->setParameter('timestamp', $date) + ->getQuery() + ->getResult(); + } +} -- cgit v1.2.3