MiniAsset\Output\AssetCacher::buildFileName PHP Method

buildFileName() public method

Get the final build file name for a target.
public buildFileName ( AssetTarget $target ) : string
$target MiniAsset\AssetTarget The target to get a name for.
return string
    public function buildFileName(AssetTarget $target)
    {
        $file = $target->name();
        if ($target->isThemed() && $this->theme) {
            $file = $this->theme . '-' . $file;
        }
        return $file;
    }