ButtonBuilder::hasOption()

bool hasOption(string $name) Returns whether a specific option exists. Parameters string $name The option name, Return Value bool Whether the option exists

TranslationExtension::trans()

trans($message, array $arguments = array(), $domain = null, $locale = null) Parameters $message array $arguments $domain $locale

TokenStorageInterface::getToken()

TokenInterface|null getToken() Returns the current security token. Return Value TokenInterface|null A TokenInterface instance or null if no authentication information is available

FormInterface::setParent()

FormInterface setParent(FormInterface $parent = null) Sets the parent form. Parameters FormInterface $parent The parent form or null if it's the root Return Value FormInterface The form instance Exceptions AlreadySubmittedException If the form has already been submitted. LogicException When trying to set a parent for a form with an empty name.

AbstractTypeExtension::buildView()

buildView(FormView $view, FormInterface $form, array $options) Builds the view. This method is called after the extended type has built the view to further modify it. Parameters FormView $view The view FormInterface $form The form array $options The options

FrameworkExtension::load()

load(array $configs, ContainerBuilder $container) Responds to the app.config configuration parameter. Parameters array $configs An array of configuration values ContainerBuilder $container A ContainerBuilder instance Exceptions LogicException

PseudoClassExtension::getPseudoClassTranslators()

callable[] getPseudoClassTranslators() Returns pseudo-class translators. Return Value callable[]

FrameworkExtension::getXsdValidationBasePath()

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

FormFieldRegistry::has()

bool has(string $name) Tests whether the form has the given field. Parameters string $name The fully qualified name of the field Return Value bool Whether the form has the given field

XmlEncoder::encode()

scalar encode(mixed $data, string $format, array $context = array()) Encodes data into the given format. Parameters mixed $data Data to encode string $format Format name array $context options that normalizers/encoders have access to Return Value scalar Exceptions UnexpectedValueException