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

14 lines
227 B
PHP
Raw Normal View History

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