mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
19 lines
520 B
PHP
19 lines
520 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use App\Filters\FilterQueryString;
|
|
|
|
class JikanApiModel extends \Jenssegers\Mongodb\Eloquent\Model
|
|
{
|
|
use FilterQueryString;
|
|
|
|
/**
|
|
* The list of parameters which can be used to filter the result-set from the database.
|
|
* The available field names and "order_by" is allowed as values. If "order_by" is specified then the field name
|
|
* from the "order_by" query string parameter will be used to sort the results.
|
|
* @var string[]
|
|
*/
|
|
protected array $filters = [];
|
|
}
|