MiniAsset\Output\AssetCacher::write PHP Method

write() public method

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