src/Tag.php
public function setProps($props)
    {
        if (! is_array($props) && ! ($props instanceof \Traversable)) {
            return $this;
        }
        foreach ($props as $name => $value) {
            $this->set($name, $value);
        }

        return $this;
    }
public function setProps($props)
    {
        if (! is_array($props) && ! ($props instanceof \Traversable)) {
            return $this;
        }
        foreach ($props as $name => $value) {
            $this->set($name, $value);
        }

        return $this;
    }
public function setProps ( $ props ) { if ( ! is_array ( $ props ) && ! ( $ props instanceof \ Traversable ) ) { return $ this ; } foreach ( $ props as $ name => $ value ) { $ this -> set ( $ name , $ value ) ; } return $ this ; }
Set multipe properties to the HTML element

@param array $props

@return self
Set multipe properties to the HTML element