Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0 / 0 |
|
100.00% |
0 / 0 |
CRAP | |
100.00% |
0 / 0 |
|
| <?php | |
| /** | |
| * @file | |
| * Contains \Drupal\Core\Asset\AssetDumperInterface. | |
| */ | |
| 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); | |
| } |