<?php
namespace PrettusRepositoryContracts;
/**
* Interface CriteriaInterface
* @package PrettusRepositoryContracts
*/
interface CriteriaInterface
{
/**
* Apply criteria in query repository
*
* @param $model
* @param RepositoryInterface $repository
*
* @return mixed
*/
public function apply($model, RepositoryInterface $repository);
}