Patched to Drupal 8.4.8 level. See https://www.drupal.org/sa-core-2018-004 and patch...
[yaffs-website] / web / core / lib / Drupal / Core / Asset / AssetCollectionGrouperInterface.php
1 <?php
2
3 namespace Drupal\Core\Asset;
4
5 /**
6  * Interface defining a service that logically groups a collection of assets.
7  */
8 interface 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 }