forked from Public/pics
AssetIterator: rewrite to standard Iterator interface
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user