FormBuilder::create()

FormBuilderInterface create(string $name, string|null $type = null, array $options = array()) Creates a form builder. Parameters string $name The name of the form or the name of the property string|null $type The type of the form or null if name is a property array $options The options Return Value FormBuilderInterface The created builder

FormBuilder::count()

count() {@inheritdoc}

FormBuilder::all()

array all() Returns the children. Return Value array

FormBuilder::add()

FormBuilderInterface add(string|int|FormBuilderInterface $child, string|null $type = null, array $options = array()) Adds a new field to this group. A field must have a unique name within the group. Otherwise the existing field is overwritten. If you add a nested group, this group should also be represented in the object hierarchy. Parameters string|int|FormBuilderInterface $child string|null $type array $options Return Value FormBuilderInterface The builder object

FormBuilder

class FormBuilder extends FormConfigBuilder implements IteratorAggregate, FormBuilderInterface A builder for creating {@link Form} instances. Methods __construct(string|int $name, string $dataClass, EventDispatcherInterface $dispatcher, FormFactoryInterface $factory, array $options = array()) Creates a new form builder. FormConfigBuilderInterface addEventListener(string $eventName, callable $listener, int $priority) Adds an event listener to an event on this form. from FormConfigBu

FormAuthenticationEntryPoint

class FormAuthenticationEntryPoint implements AuthenticationEntryPointInterface FormAuthenticationEntryPoint starts an authentication via a login form. Methods __construct(HttpKernelInterface $kernel, HttpUtils $httpUtils, string $loginPath, bool $useForward = false) Constructor. Response start(Request $request, AuthenticationException $authException = null) Starts the authentication scheme. Details __construct(HttpKernelInterface $kernel, HttpUtils

FormatterHelper::truncate()

string truncate(string $message, int $length, string $suffix = '...') Truncates a message to the given length. Parameters string $message int $length string $suffix Return Value string

FormatterHelper::getName()

string getName() Returns the canonical name of this helper. Return Value string The canonical name

FormatterHelper::formatSection()

string formatSection(string $section, string $message, string $style = 'info') Formats a message within a section. Parameters string $section The section name string $message The message string $style The style to apply to the section Return Value string The format section

FormatterHelper::formatBlock()

string formatBlock(string|array $messages, string $style, bool $large = false) Formats a message as a block of text. Parameters string|array $messages The message to write in the block string $style The style to apply to the whole block bool $large Whether to return a large block Return Value string The formatter message