mirror of
https://github.com/koel/koel
synced 2024-12-20 17:43:36 +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);
|
|
}
|
|
}
|