2022-06-08 17:05:12 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App;
|
|
|
|
|
|
|
|
use App\Filters\FilterQueryString;
|
|
|
|
|
|
|
|
class JikanApiModel extends \Jenssegers\Mongodb\Eloquent\Model
|
|
|
|
{
|
|
|
|
use FilterQueryString;
|
|
|
|
|
|
|
|
/**
|
2022-06-09 16:01:37 +01:00
|
|
|
* 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.
|
2022-06-08 17:05:12 +01:00
|
|
|
* @var string[]
|
|
|
|
*/
|
|
|
|
protected array $filters = [];
|
|
|
|
}
|