mirror of
https://github.com/koel/koel
synced 2024-11-28 06:50:27 +00:00
13 lines
241 B
PHP
13 lines
241 B
PHP
<?php
|
|
|
|
namespace App\Repositories\Traits;
|
|
|
|
use Laravel\Scout\Builder;
|
|
|
|
trait Searchable
|
|
{
|
|
public function search(string $keywords): Builder
|
|
{
|
|
return forward_static_call([$this->getModelClass(), 'search'], $keywords);
|
|
}
|
|
}
|