FormBuilderInterface::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

ExtensionInterface::getXsdValidationBasePath()

string getXsdValidationBasePath() Returns the base path for the XSD files. Return Value string The XSD base path

LocaleBundleTransformationRule::beforeCompile()

string[] beforeCompile(CompilationContextInterface $context) Runs instructions to be executed before compiling the sources of the resource bundle. Parameters CompilationContextInterface $context The contextual information of the compilation. Return Value string[] The source directories/files of the bundle.

FormConfigBuilderInterface::setRequestHandler()

FormConfigBuilderInterface setRequestHandler(RequestHandlerInterface $requestHandler) Sets the request handler used by the form. Parameters RequestHandlerInterface $requestHandler Return Value FormConfigBuilderInterface The configuration object

FormTypeValidatorExtension::configureOptions()

configureOptions(OptionsResolver $resolver) Configures the options for this type. Parameters OptionsResolver $resolver The resolver for the options.

FormFactoryBuilderInterface::addTypeExtension()

FormFactoryBuilderInterface addTypeExtension(FormTypeExtensionInterface $typeExtension) Adds a form type extension to the factory. Parameters FormTypeExtensionInterface $typeExtension The form type extension Return Value FormFactoryBuilderInterface The builder

OutputStyle::writeln()

writeln(string|array $messages, $type = self::OUTPUT_NORMAL) Writes a message to the output and adds a newline at the end. Parameters string|array $messages The message as an array of lines of a single string $type

OperationInterface::getObsoleteMessages()

array getObsoleteMessages(string $domain) Returns obsolete messages ('obsolete') after operation. Parameters string $domain Return Value array

Cookie::getPath()

string getPath() Gets the path of the cookie. Return Value string The cookie path

LocaleBundle::getLocaleNames()

string[] getLocaleNames(string $displayLocale = null) Returns the names of all known locales. Parameters string $displayLocale Optional. The locale to return the names in. Defaults to {@link \Locale::getDefault()}. Return Value string[] A list of locale names indexed by locale codes.