1<?php 2 3namespace Drupal\Core\Asset; 4 5/** 6 * Interface defining a service that logically groups a collection of assets. 7 */ 8interface AssetCollectionGrouperInterface { 9 10 /** 11 * Groups a collection of assets into logical groups of asset collections. 12 * 13 * @param array $assets 14 * An asset collection. 15 * 16 * @return array 17 * A sorted array of asset groups. 18 */ 19 public function group(array $assets); 20 21} 22