MiniAsset\Output\AssetCacher::read PHP Method

read() public method

Get the cached result for a build target.
public read ( AssetTarget $target ) : string
$target MiniAsset\AssetTarget The target to get content for.
return string
    public function read(AssetTarget $target)
    {
        $buildName = $this->buildFileName($target);
        return file_get_contents($this->path . $buildName);
    }