Copied!

AssetCollection

AssetCollection.php : 14
Implements IteratorAggregate

Methods

public__construct()

AssetCollection.php : 22
public __construct(array<string|int, Asset$assets)

Parameters

Name Type Default value Description
$assets array<string|int, Asset> - -

publicgetIterator()

AssetCollection.php : 27
public getIterator() : mixed

publictoArray()

AssetCollection.php : 35
public toArray() : array<string|int, Asset>

Return values

array<string|int, Asset>