Method |
Description |
|
__construct ( array $targets, Factory $factory ) |
Constructor. You can provide an array or any traversable object |
|
append ( AssetTarget $target ) : void |
Append an asset to the collection. |
|
contains ( string $name ) : boolean |
Check whether or not the collection contains the named asset. |
|
count ( ) : integer |
Get the length of the collection. |
|
current ( ) |
|
|
get ( string $name ) : null | AssetTarget |
Get an asset from the collection |
|
key ( ) |
|
|
next ( ) |
|
|
remove ( string $name ) : void |
Remove an asset from the collection |
|
rewind ( ) |
|
|
valid ( ) |
|
|