Codesleeve\AssetPipeline\Composers\BaseComposer::attributesArrayToText PHP Method

attributesArrayToText() protected method

Convert the attributes array to a html text attributes
protected attributesArrayToText ( array $attributes ) : string
$attributes array
return string
    protected function attributesArrayToText($attributes)
    {
        $text = "";
        foreach ($attributes as $name => $value) {
            $text .= "{$name}=\"{$value}\" ";
        }
        $text = rtrim($text);
        return $text;
    }