Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace App\Support\Repository\Contracts;
- interface CriteriaInterface
- {
- /**
- * The criteria to be applied must go inside this method.
- *
- * @param mixed $queryBuilder Current query builder.
- *
- * @return mixed $queryBuilder Current instance of the query builder with the criteria appplied.
- */
- public function apply($queryBuilder);
- }
Add Comment
Please, Sign In to add comment