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