mirror of
https://github.com/koel/koel
synced 2024-12-23 19:13:06 +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);
|
|
}
|
|
}
|