AssetIterator: rewrite to standard Iterator interface

This commit is contained in:
2025-05-13 23:29:43 +02:00
parent 9989ba1fa7
commit 4b26c677bb
6 changed files with 75 additions and 87 deletions

View File

@@ -24,7 +24,7 @@ class Asset
protected $tags;
protected $thumbnails;
protected function __construct(array $data)
public function __construct(array $data)
{
foreach ($data as $attribute => $value)
{