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

InputDefinition::getArgumentDefaults()

array getArgumentDefaults() Gets the default values. Return Value array An array of default values

HttpFoundationExtension::getFunctions()

getFunctions() {@inheritdoc}

PropertyPathMapper::mapFormsToData()

mapFormsToData(FormInterface[] $forms, mixed $data) Maps the data of a list of forms into the properties of some data. Parameters FormInterface[] $forms A list of {@link FormInterface} instances. mixed $data Structured data. Exceptions UnexpectedTypeException if the type of the data parameter is not supported.

Reader::getRemainingLength()

int getRemainingLength() Return Value int

XmlEncoder::supportsDecoding()

bool supportsDecoding(string $format) Checks whether the deserializer can decode from given format. Parameters string $format format name Return Value bool

CompiledRoute::getTokens()

array getTokens() Returns the tokens. Return Value array The tokens