public function write(AssetTarget $target, $contents) { $this->ensureDir(); $buildName = $this->buildFileName($target); file_put_contents($this->path . $buildName, $contents); }