public function render()
    {
        $elements = [];

        foreach($this->builders as $builder) {
            $object = new $builder;
            $elements[] = [
                'element' => $object->initElement(),
                'options' => $object->getAdditionalOptions()
                ];
        }
        return $elements;
    }
public function render()
    {
        $elements = [];

        foreach($this->builders as $builder) {
            $object = new $builder;
            $elements[] = [
                'element' => $object->initElement(),
                'options' => $object->getAdditionalOptions()
                ];
        }
        return $elements;
    }
public function render ( ) { $ elements = [ ] ; foreach ( $ this -> builders as $ builder ) { $ object = new $ builder ; $ elements [ ] = [ 'element' => $ object -> initElement ( ) , 'options' => $ object -> getAdditionalOptions ( ) ] ; } return $ elements ; }
Method create object for render each element. Execute initElement method
@return array
Method create object for render each element . Execute initElement method