Files

15 lines
305 B
PHP
Raw Permalink Normal View History

2015-12-06 13:58:49 -05:00
<?php
namespace Pterodactyl\Contracts\Criteria;
2015-12-06 13:58:49 -05:00
2022-10-14 10:59:20 -06:00
use Illuminate\Database\Eloquent\Model;
use Pterodactyl\Repositories\Repository;
2015-12-06 13:58:49 -05:00
interface CriteriaInterface
{
2017-03-19 19:36:50 -04:00
/**
* Apply selected criteria to a repository call.
2017-03-19 19:36:50 -04:00
*/
2022-10-14 10:59:20 -06:00
public function apply(Model $model, Repository $repository): mixed;
2015-12-06 13:58:49 -05:00
}