Codesleeve\AssetPipeline\Composers\BaseComposer::attributesArrayToText PHP Метод

attributesArrayToText() защищенный Метод

Convert the attributes array to a html text attributes
protected attributesArrayToText ( array $attributes ) : string
$attributes array
Результат string
    protected function attributesArrayToText($attributes)
    {
        $text = "";
        foreach ($attributes as $name => $value) {
            $text .= "{$name}=\"{$value}\" ";
        }
        $text = rtrim($text);
        return $text;
    }