AssetDumper
class AssetDumper implements AssetDumperInterface (View source)
Dumps a CSS or JavaScript asset.
Properties
| protected FileSystemInterface | $fileSystem | The file system service. |
Methods
string
dump(string $data, string $file_extension)
Dumps an (optimized) asset to persistent storage.
Details
__construct(FileSystemInterface $file_system)
AssetDumper constructor.
string
dump(string $data, string $file_extension)
Dumps an (optimized) asset to persistent storage.