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

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

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.

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

TranslationExtension::trans()

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

InvalidArgumentException

class InvalidArgumentException extends InvalidArgumentException implements ExceptionInterface Thrown when an argument is invalid.

ButtonBuilder::setMapped()

FormConfigBuilderInterface setMapped(bool $mapped) Unsupported method. This method should not be invoked. Parameters bool $mapped Whether the form should be mapped Return Value FormConfigBuilderInterface The configuration object Exceptions BadMethodCallException

FormConfigBuilder::getDataClass()

string getDataClass() Returns the class of the form data or null if the data is scalar or an array. Return Value string The data class or null

FormConfigBuilder::setMethod()

FormConfigBuilderInterface setMethod(string $method) Sets the HTTP method used by the form. Parameters string $method The HTTP method of the form Return Value FormConfigBuilderInterface The configuration object

PropertyPath::getElements()

array getElements() Returns the elements of the property path as array. Return Value array An array of property/index names