private function write()
{
$pipeline = $this->pipeline;
//__invoke won't with "$this->pipeline()"
list($files, $content) = $pipeline($this->type, $this->options['manifest'], $this->vars, true);
//full=true
if (!empty($this->options['minify']) && class_exists($class = 'Sprockets\\Filter\\Minifier\\' . ucfirst($this->type))) {
$minified = new $class();
$minified->setPipeline($pipeline);
$content = $minified($files, $content);
}
$this->writeDependenciesFile();
file_put_contents($this->getFilename(), $content);
# file_put_contents($this->getFilename() . '.gz', gzcompress($content));
}