TextareaType::buildView()

buildView(FormView $view, FormInterface $form, array $options) Builds the form view. This method is called for each type in the hierarchy starting from the top most type. Type extensions can further modify the view. A view of a form is built before the views of the child forms are built. This means that you cannot access child views in this method. If you need to do so, move your logic to {@link finishView()} instead. Parameters FormView $view The view FormInterface $form The form

OrderedHashMapIterator::current()

current() {@inheritdoc}

CombinationExtension::translateIndirectAdjacent()

XPathExpr translateIndirectAdjacent(XPathExpr $xpath, XPathExpr $combinedXpath) Parameters XPathExpr $xpath XPathExpr $combinedXpath Return Value XPathExpr

JsonDescriptor

class JsonDescriptor extends Descriptor JSON 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

PropertyPathInterface::isProperty()

bool isProperty(int $index) Returns whether the element at the given index is a property. Parameters int $index The index in the property path Return Value bool Whether the element at this index is a property Exceptions OutOfBoundsException If the offset is invalid

FormField::isDisabled()

bool isDisabled() Check if the current field is disabled. Return Value bool

Component\Intl\Collator

Classes Collator Replacement for PHP's native {@link \Collator} class.

FormRendererInterface::renderCsrfToken()

string renderCsrfToken(string $tokenId) Renders a CSRF token. Use this helper for CSRF protection without the overhead of creating a form. Check the token in your action using the same token ID. $csrfProvider = $this->get('security.csrf.tokengenerator'); if (!$csrfProvider->isCsrfTokenValid('rmuser_'.$user->getId(), $token)) { throw new \RuntimeException('CSRF attack detected.'); } Parameters string $tokenId The ID of the CSRF token Return Value string A CSRF to

XmlDumper

class XmlDumper extends Dumper XmlDumper dumps a service container as an XML string. Methods __construct(ContainerBuilder $container) from Dumper string dump(array $options = array()) Dumps the service container as an XML string. static string phpToXml(mixed $value) Converts php types to xml types. Details __construct(ContainerBuilder $container) Parameters ContainerBuilder $container The service container to dump

BaseNode::setNormalizationClosures()

setNormalizationClosures(array $closures) Sets the closures used for normalization. Parameters array $closures An array of Closures used for normalization