mirror of
https://github.com/koel/koel
synced 2024-12-23 19:13:06 +00:00
15 lines
281 B
PHP
15 lines
281 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Builders;
|
||
|
|
||
|
use App\Models\Artist;
|
||
|
use Illuminate\Database\Eloquent\Builder;
|
||
|
|
||
|
class ArtistBuilder extends Builder
|
||
|
{
|
||
|
public function isStandard(): static
|
||
|
{
|
||
|
return $this->whereNotIn('artists.id', [Artist::UNKNOWN_ID, Artist::VARIOUS_ID]);
|
||
|
}
|
||
|
}
|