mirror of
https://github.com/koel/koel
synced 2024-12-19 00:53:05 +00:00
13 lines
293 B
PHP
13 lines
293 B
PHP
<?php
|
|
|
|
namespace App\DTO;
|
|
|
|
use Illuminate\Support\Collection;
|
|
|
|
final class SmartPlaylistRuleGroupCollection extends Collection
|
|
{
|
|
public static function create(array $array): self
|
|
{
|
|
return new self(collect($array)->transform([SmartPlaylistRuleGroup::class, 'create']));
|
|
}
|
|
}
|