protected function renderChildren(ElementCollection $children)
    {
        $attributes = [];

        $children->forAll(function (ElementInterface $child) use (&$attributes) {
            $attributes[] = $this->renderElement($child);
        });

        return $attributes;
    }
protected function renderChildren(ElementCollection $children)
    {
        $attributes = [];

        $children->forAll(function (ElementInterface $child) use (&$attributes) {
            $attributes[] = $this->renderElement($child);
        });

        return $attributes;
    }
protected function renderChildren ( ElementCollection $ children ) { $ attributes = [ ] ; $ children -> forAll ( function ( ElementInterface $ child ) use ( & $ attributes ) { $ attributes [ ] = $ this -> renderElement ( $ child ) ; } ) ; return $ attributes ; }
Renders all children elements

@param ElementCollection $children

@return array
Renders all children elements