mirror of
https://github.com/koel/koel
synced 2024-12-25 03:53:05 +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]);
|
|
}
|
|
}
|