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

FrameworkExtension::getXsdValidationBasePath()

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

PseudoClassExtension::getPseudoClassTranslators()

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

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

DumpListener::getSubscribedEvents()

static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority)) a

Request::getMimeType()

string getMimeType(string $format) Gets the mime type associated with the format. Parameters string $format The format Return Value string The associated mime type (null if not found)