public function addChildren(array $children)
    {
        if ($this->isVoid) {
            throw new Exception\RuntimeException(
                'Void elements can\'t have child elements.'
            );
        }

        foreach ($children as $child) {
            $this->addChild($child);
        }

        return $this;
    }
public function addChildren(array $children)
    {
        if ($this->isVoid) {
            throw new Exception\RuntimeException(
                'Void elements can\'t have child elements.'
            );
        }

        foreach ($children as $child) {
            $this->addChild($child);
        }

        return $this;
    }
public function addChildren ( array $ children ) { if ( $ this -> isVoid ) { throw new Exception \ RuntimeException ( 'Void elements can\'t have child elements.' ) ; } foreach ( $ children as $ child ) { $ this -> addChild ( $ child ) ; } return $ this ; }
Add children to tag

@param array $children

@throws Exception\RuntimeException
@return  \SxCore\Html\HtmlElement
Add children to tag