mirror of
https://github.com/koel/koel
synced 2024-11-28 15:00:42 +00:00
14 lines
281 B
PHP
14 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]);
|
|
}
|
|
}
|