FormType::buildForm()

buildForm(FormBuilderInterface $builder, array $options) Builds the form. This method is called for each type in the hierarchy starting from the top most type. Type extensions can further modify the form. Parameters FormBuilderInterface $builder The form builder array $options The options

OptionsResolver::offsetGet()

mixed offsetGet(string $option) Returns the resolved value of an option. Parameters string $option The option name Return Value mixed The option value Exceptions AccessException If accessing this method outside of {@link resolve()} NoSuchOptionException If the option is not set InvalidOptionsException If the option doesn't fulfill the specified validation rules OptionDefinitionException If there is a cyclic dependency between lazy options and/or normalizers

Locale::getDisplayLanguage()

static string getDisplayLanguage(string $locale, string $inLocale = null) Not supported. Returns the localized display name for the locale language. Parameters string $locale The locale code to return the display language from string $inLocale Optional format locale code to use to display the language name Return Value string The localized language display name Exceptions MethodNotImplementedException See also http://www.php.net/manual/en/locale.getdisplaylanguage.p

OptionsResolverInterface deprecated::setRequired()

OptionsResolverInterface setRequired(array $optionNames) Sets required options. If these options are not passed to {@link resolve()} and no default has been set for them, an exception will be thrown. Parameters array $optionNames A list of option names. Return Value OptionsResolverInterface The resolver instance.

RedisProfilerStorage deprecated::find()

array find(string $ip, string $url, string $limit, string $method, int|null $start = null, int|null $end = null) Finds profiler tokens for the given criteria. Parameters string $ip The IP string $url The URL string $limit The maximum number of tokens to return string $method The request method int|null $start The start date to search from int|null $end The end date to search to Return Value array An array of tokens

MongoDbProfilerStorage deprecated::read()

Profile read(string $token) Reads data associated with the given token. The method returns false if the token does not exist in the storage. Parameters string $token A token Return Value Profile The profile associated with token

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

Validator deprecated::validateProperty()

ConstraintViolationListInterface validateProperty(mixed $containingValue, string $property, array|null $groups = null) Validates a property of a value against its current value. The accepted values depend on the {@link MetadataFactoryInterface} implementation. Parameters mixed $containingValue The value containing the property. string $property The name of the property to validate. array|null $groups The validation groups to validate. Return Value ConstraintViolationListInterf

DefaultCsrfProvider deprecated

class DefaultCsrfProvider implements CsrfProviderInterface deprecated since version 2.4, to be removed in 3.0. Use {@link \Symfony\Component\Security\Csrf\CsrfTokenManager} in combination with {@link \Symfony\Component\Security\Csrf\TokenStorage\NativeSessionTokenStorage} instead. Default implementation of CsrfProviderInterface. This provider uses the session ID returned by session_id() as well as a user-defined secret value to secure the CSRF token. Methods __construct(string $secre

FormTypeExtensionInterface::buildForm()

buildForm(FormBuilderInterface $builder, array $options) Builds the form. This method is called after the extended type has built the form to further modify it. Parameters FormBuilderInterface $builder The form builder array $options The options See also FormTypeInterface::buildForm()