CsrfExtension

class CsrfExtension extends AbstractExtension This extension protects forms by using a CSRF token. Methods FormTypeInterface getType(string $name) Returns a type by name. from AbstractExtension bool hasType(string $name) Returns whether the given type is supported. from AbstractExtension FormTypeExtensionInterface[] getTypeExtensions(string $name) Returns the extensions for the given type. from AbstractExtension bool hasTypeExtensions(string $name) Returns whether this extens

DefaultAuthenticationFailureHandler

class DefaultAuthenticationFailureHandler implements AuthenticationFailureHandlerInterface Class with the default authentication failure handling logic. Can be optionally be extended from by the developer to alter the behaviour while keeping the default behaviour. Methods __construct(HttpKernelInterface $httpKernel, HttpUtils $httpUtils, array $options = array(), LoggerInterface $logger = null) Constructor. array getOptions() Gets the options. setOptions(array $options) Sets th

AclProviderInterface::findAcl()

AclInterface findAcl(ObjectIdentityInterface $oid, array $sids = array()) Returns the ACL that belongs to the given object identity Parameters ObjectIdentityInterface $oid array $sids Return Value AclInterface Exceptions AclNotFoundException when there is no ACL

TemplatingExtension

class TemplatingExtension extends AbstractExtension Integrates the Templating component with the Form library. Methods FormTypeInterface getType(string $name) Returns a type by name. from AbstractExtension bool hasType(string $name) Returns whether the given type is supported. from AbstractExtension FormTypeExtensionInterface[] getTypeExtensions(string $name) Returns the extensions for the given type. from AbstractExtension bool hasTypeExtensions(string $name) Returns whether

Component\Intl\Data

Namespaces Symfony\Component\Intl\Data\BundleSymfony\Component\Intl\Data\GeneratorSymfony\Component\Intl\Data\ProviderSymfony\Component\Intl\Data\Util

Acl::insertObjectFieldAce()

insertObjectFieldAce(string $field, SecurityIdentityInterface $sid, int $mask, int $index, bool $granting = true, string $strategy = null) Inserts an object-field-based ACE Parameters string $field SecurityIdentityInterface $sid int $mask int $index bool $granting string $strategy

ValidationVisitorInterface 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.

InputDefinition::setDefinition()

setDefinition(array $definition) Sets the definition of the input. Parameters array $definition The definition array

FieldVote::getDomainObject()

getDomainObject()

ValidationVisitor deprecated

class ValidationVisitor implements ValidationVisitorInterface, GlobalExecutionContextInterface deprecated since version 2.5, to be removed in 3.0. Default implementation of {@link ValidationVisitorInterface} and {@link GlobalExecutionContextInterface}. Methods __construct(mixed $root, MetadataFactoryInterface $metadataFactory, ConstraintValidatorFactoryInterface $validatorFactory, TranslatorInterface $translator, string|null $translationDomain = null, array $objectInitializers = arra