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

AccessMapInterface

interface AccessMapInterface AccessMap allows configuration of different access control rules for specific parts of the website. Methods array getPatterns(Request $request) Returns security attributes and required channel for the supplied request. Details array getPatterns(Request $request) Returns security attributes and required channel for the supplied request. Parameters Request $request The current request Return Value array A tuple of s

LocaleBundleInterface::getLocaleName()

string|null getLocaleName(string $locale, string $displayLocale = null) Returns the name of a locale. Parameters string $locale The locale to return the name of (e.g. "de_AT") string $displayLocale Optional. The locale to return the name in Defaults to {@link \Locale::getDefault()}. Return Value string|null The name of the locale or NULL if not found

PropertyInfoCacheExtractor::getShortDescription()

string|null getShortDescription(string $class, string $property, array $context = array()) Gets the short description of the property. Parameters string $class string $property array $context Return Value string|null

MarkdownDescriptor

class MarkdownDescriptor extends Descriptor Markdown descriptor. Methods describe(OutputInterface $output, object $object, array $options = array()) Describes an InputArgument instance. from Descriptor Details describe(OutputInterface $output, object $object, array $options = array()) Describes an InputArgument instance. Parameters OutputInterface $output object $object array $options

EmailType

class EmailType extends AbstractType Methods buildForm(FormBuilderInterface $builder, array $options) Builds the form. from AbstractType buildView(FormView $view, FormInterface $form, array $options) Builds the form view. from AbstractType finishView(FormView $view, FormInterface $form, array $options) Finishes the form view. from AbstractType configureOptions(OptionsResolver $resolver) Configures the options for this type. from AbstractType string getBlockPrefix() Returns

EventDispatcherInterface::addListener()

addListener(string $eventName, callable $listener, int $priority) Adds an event listener that listens on the specified events. Parameters string $eventName The event to listen on callable $listener The listener int $priority The higher this value, the earlier an event listener will be triggered in the chain (defaults to 0)

AttributeMatchingExtension::translateIncludes()

XPathExpr translateIncludes(XPathExpr $xpath, string $attribute, string $value) Parameters XPathExpr $xpath string $attribute string $value Return Value XPathExpr

ValidationVisitor deprecated::visit()

visit(MetadataInterface $metadata, mixed $value, string $group, string $propertyPath) Validates a value against the constraints defined in some metadata. This method implements the Visitor design pattern. See also {@link ValidationVisitorInterface}. Parameters MetadataInterface $metadata The metadata holding the constraints. mixed $value The value to validate. string $group The validation group to validate. string $propertyPath The current property path in the validation graph.

NodeExtension::translatePseudo()

XPathExpr translatePseudo(PseudoNode $node, Translator $translator) Parameters PseudoNode $node Translator $translator Return Value XPathExpr