mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-22 17:12:30 +01:00
cbcf62086f
Co-authored-by: DaneEveritt <dane@daneeveritt.com>
15 lines
305 B
PHP
15 lines
305 B
PHP
<?php
|
|
|
|
namespace Pterodactyl\Contracts\Criteria;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Pterodactyl\Repositories\Repository;
|
|
|
|
interface CriteriaInterface
|
|
{
|
|
/**
|
|
* Apply selected criteria to a repository call.
|
|
*/
|
|
public function apply(Model $model, Repository $repository): mixed;
|
|
}
|