interface AssetCollectionGrouperInterface (View source)

Interface defining a service that logically groups a collection of assets.

Methods

array
group(array $assets)

Groups a collection of assets into logical groups of asset collections.

Details

array group(array $assets)

Groups a collection of assets into logical groups of asset collections.

Parameters

array $assets

An asset collection.

Return Value

array

A sorted array of asset groups.