Jyxo\HtmlTag::setAttributes PHP Метод

setAttributes() публичный Метод

Imports attributes from the given array.
public setAttributes ( array $attributes ) : self
$attributes array Associative array of attributes and their values
Результат self
    public function setAttributes(array $attributes) : self
    {
        foreach ($attributes as $name => $value) {
            $this->attributes[strtolower($name)] = $value;
        }
        return $this;
    }