public function visitFormAction(FormActionInterface $formAction)
    {
        $template = "form-action/{$formAction->getType()}.twig";

        return $this
            ->loadTemplate($template)
            ->render(
                [
                    "label" => $formAction->getLabel(),
                    "target" => $formAction->getTarget(),
                    "classes" => $formAction->getClasses(),
                    "data" => $formAction->getData(),
                ]
            );
    }
public function visitFormAction(FormActionInterface $formAction)
    {
        $template = "form-action/{$formAction->getType()}.twig";

        return $this
            ->loadTemplate($template)
            ->render(
                [
                    "label" => $formAction->getLabel(),
                    "target" => $formAction->getTarget(),
                    "classes" => $formAction->getClasses(),
                    "data" => $formAction->getData(),
                ]
            );
    }
public function visitFormAction ( FormActionInterface $ formAction ) { $ template = "form-action/{$formAction->getType()}.twig" ; return $ this -> loadTemplate ( $ template ) -> render ( [ "label" => $ formAction -> getLabel ( ) , "target" => $ formAction -> getTarget ( ) , "classes" => $ formAction -> getClasses ( ) , "data" => $ formAction -> getData ( ) , ] ) ; }
Render FormActionInterface into html.

This method is generally called via double-dispatch, as provided by Visitor\VisitableTrait.

@param FormActionInterface $formAction
@return string
Render FormActionInterface into html .