Mercurial > hg > isophonics-drupal-site
view core/lib/Drupal/Core/Asset/AssetDumperInterface.php @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
<?php namespace Drupal\Core\Asset; /** * Interface defining a service that dumps an (optimized) asset. */ interface AssetDumperInterface { /** * Dumps an (optimized) asset to persistent storage. * * @param string $data * An (optimized) asset's contents. * @param string $file_extension * The file extension of this asset. * * @return string * An URI to access the dumped asset. */ public function dump($data, $file_extension); }