Gregwar\Formidable\Fields\Multiple::getHtmlOfForm PHP Method

getHtmlOfForm() protected method

protected getHtmlOfForm ( Form $form, $index )
$form Gregwar\Formidable\Form
    protected function getHtmlOfForm(Form $form, $index)
    {
        $myName = $this->name;
        $form->hookNames(function ($name) use($myName, $index) {
            return $myName . '[' . $index . '][' . $name . ']';
        });
        return (string) $form;
    }