\Copilot\ClientAssetCollection

Class for internal user only.

Holds a collection of assets and provides helper methods on those

Summary

Methods
Properties
Constants
__construct()
getAssetsByTagname()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(array  $assets) 

Constructor for internal usage!

Parameters

array $assets

The array of assets to be managed

getAssetsByTagname()

getAssetsByTagname(string  $tagname) : \Copilot\Client\array:

Returns all assets in this collection for the given tagname

Parameters

string $tagname

The assets tagname

Returns

\Copilot\Client\array: —

All assets that hold the given tagname. Might be empty