From b76b2bbd5ea9b41072a30fe6bea93c12bacfb777 Mon Sep 17 00:00:00 2001 From: bemyguestdmitriy Date: Thu, 28 Jan 2016 23:40:47 +0800 Subject: [PATCH] Add resetCriteria() to RepositoryCriteriaInterface --- .../Repository/Contracts/RepositoryCriteriaInterface.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Prettus/Repository/Contracts/RepositoryCriteriaInterface.php b/src/Prettus/Repository/Contracts/RepositoryCriteriaInterface.php index b297b75c..da1ddbce 100644 --- a/src/Prettus/Repository/Contracts/RepositoryCriteriaInterface.php +++ b/src/Prettus/Repository/Contracts/RepositoryCriteriaInterface.php @@ -42,4 +42,10 @@ public function getByCriteria(CriteriaInterface $criteria); */ public function skipCriteria($status = true); + /** + * Reset all Criterias + * + * @return $this + */ + public function resetCriteria(); } \ No newline at end of file