src/Security/Security.php
protected function generateTabbedFormSet($forms)
    {
        if (count($forms) === 1) {
            return $forms;
        }

        $viewData = new ArrayData([
            'Forms' => new ArrayList($forms),
        ]);

        return $viewData->renderWith(
            $this->getTemplatesFor('MultiAuthenticatorTabbedForms')
        );
    }
protected function generateTabbedFormSet($forms)
    {
        if (count($forms) === 1) {
            return $forms;
        }

        $viewData = new ArrayData([
            'Forms' => new ArrayList($forms),
        ]);

        return $viewData->renderWith(
            $this->getTemplatesFor('MultiAuthenticatorTabbedForms')
        );
    }
protected function generateTabbedFormSet ( $ forms ) { if ( count ( $ forms ) === 1 ) { return $ forms ; } $ viewData = new ArrayData ( [ 'Forms' => new ArrayList ( $ forms ) , ] ) ; return $ viewData -> renderWith ( $ this -> getTemplatesFor ( 'MultiAuthenticatorTabbedForms' ) ) ; }
Combine the given forms into a formset with a tabbed interface

@param array|Form[] $forms
@return string
Combine the given forms into a formset with a tabbed interface