public functionoptimize(array $css_asset) {
if ($css_asset['type'] != 'file') {
thrownew\Exception('Only file CSS assets can be optimized.');
}
if (!$css_asset['preprocess']) {
thrownew\Exception('Only file CSS assets with preprocessing enabled can be optimized.');
}
return$this->processFile($css_asset);
}