3 namespace Drupal\Core\Asset;
6 * Interface defining a service that dumps an (optimized) asset.
8 interface AssetDumperInterface {
11 * Dumps an (optimized) asset to persistent storage.
14 * An (optimized) asset's contents.
15 * @param string $file_extension
16 * The file extension of this asset.
19 * An URI to access the dumped asset.
21 public function dump($data, $file_extension);