protected function prepareAttributes(RequireTagInterface $tag, $assetName)
    {
        $path = $this->getAssetPath($assetName, $tag->getType());
        $attributes = $tag->getAttributes();
        $attributes[$tag->getLinkAttribute()] = $path;

        return $attributes;
    }
protected function prepareAttributes(RequireTagInterface $tag, $assetName)
    {
        $path = $this->getAssetPath($assetName, $tag->getType());
        $attributes = $tag->getAttributes();
        $attributes[$tag->getLinkAttribute()] = $path;

        return $attributes;
    }
protected function prepareAttributes ( RequireTagInterface $ tag , $ assetName ) { $ path = $ this -> getAssetPath ( $ assetName , $ tag -> getType ( ) ) ; $ attributes = $ tag -> getAttributes ( ) ; $ attributes [ $ tag -> getLinkAttribute ( ) ] = $ path ; return $ attributes ; }
Prepare the attributes of HTML tag.

@param RequireTagInterface $tag       The require template tag
@param string              $assetName The asset name

@return array
Prepare the attributes of HTML tag .