mirror of
https://github.com/koel/koel
synced 2024-12-20 17:43:36 +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);
|
|
}
|
|
}
|