mirror of
https://github.com/koel/koel
synced 2024-11-28 06:50:27 +00:00
17 lines
391 B
PHP
17 lines
391 B
PHP
<?php
|
|
|
|
namespace App\Values;
|
|
|
|
use Illuminate\Support\Collection;
|
|
|
|
final class ExcerptSearchResult
|
|
{
|
|
private function __construct(public Collection $songs, public Collection $artists, public Collection $albums)
|
|
{
|
|
}
|
|
|
|
public static function make(Collection $songs, Collection $artists, Collection $albums): self
|
|
{
|
|
return new self($songs, $artists, $albums);
|
|
}
|
|
}
|