Guest User

Untitled

a guest
Jun 25th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. <?php
  2.  
  3. namespace App\Support\Repository\Contracts;
  4.  
  5. interface CriteriaInterface
  6. {
  7. /**
  8. * The criteria to be applied must go inside this method.
  9. *
  10. * @param mixed $queryBuilder Current query builder.
  11. *
  12. * @return mixed $queryBuilder Current instance of the query builder with the criteria appplied.
  13. */
  14. public function apply($queryBuilder);
  15. }
Add Comment
Please, Sign In to add comment