mirror of
https://github.com/koel/koel
synced 2024-11-14 00:17:13 +00:00
14 lines
253 B
PHP
14 lines
253 B
PHP
<?php
|
|
|
|
namespace App\Builders;
|
|
|
|
use App\Models\Album;
|
|
use Illuminate\Database\Eloquent\Builder;
|
|
|
|
class AlbumBuilder extends Builder
|
|
{
|
|
public function isStandard(): static
|
|
{
|
|
return $this->whereNot('albums.id', Album::UNKNOWN_ID);
|
|
}
|
|
}
|