mirror of
https://github.com/koel/koel
synced 2024-12-22 10:33:16 +00:00
a8a3baa478
This reverts commit 7cd5b230d4
.
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);
|
|
}
|
|
}
|