misc_pterodactyl-panel/app/Contracts/Criteria/CriteriaInterface.php

15 lines
305 B
PHP
Raw Normal View History

<?php
namespace Pterodactyl\Contracts\Criteria;
use Illuminate\Database\Eloquent\Model;
use Pterodactyl\Repositories\Repository;
interface CriteriaInterface
{
2017-03-19 23:36:50 +00:00
/**
* Apply selected criteria to a repository call.
2017-03-19 23:36:50 +00:00
*/
public function apply(Model $model, Repository $repository): mixed;
}