misc_pterodactyl-panel/app/Models/Traits/Searchable.php

13 lines
227 B
PHP

<?php
namespace Pterodactyl\Models\Traits;
use Pterodactyl\Extensions\Illuminate\Database\Eloquent\Builder;
trait Searchable
{
public function newEloquentBuilder($query)
{
return new Builder($query);
}
}