Mercurial > hg > isophonics-drupal-site
comparison core/lib/Drupal/Core/Asset/AssetDumperInterface.php @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4c8ae668cc8c |
---|---|
1 <?php | |
2 | |
3 namespace Drupal\Core\Asset; | |
4 | |
5 /** | |
6 * Interface defining a service that dumps an (optimized) asset. | |
7 */ | |
8 interface AssetDumperInterface { | |
9 | |
10 /** | |
11 * Dumps an (optimized) asset to persistent storage. | |
12 * | |
13 * @param string $data | |
14 * An (optimized) asset's contents. | |
15 * @param string $file_extension | |
16 * The file extension of this asset. | |
17 * | |
18 * @return string | |
19 * An URI to access the dumped asset. | |
20 */ | |
21 public function dump($data, $file_extension); | |
22 | |
23 } |