ResolvedFormTypeFactoryInterface

interface ResolvedFormTypeFactoryInterface Creates ResolvedFormTypeInterface instances. This interface allows you to use your custom ResolvedFormTypeInterface implementation, within which you can customize the concrete FormBuilderInterface implementations or FormView subclasses that are used by the framework. Methods ResolvedFormTypeInterface createResolvedType(FormTypeInterface $type, array $typeExtensions, ResolvedFormTypeInterface $parent = null) Resolves a form type. Details

StructuredBundleReader

class StructuredBundleReader implements StructuredBundleReaderInterface A structured reader wrapping an existing resource bundle reader. Methods __construct(BundleReaderInterface $reader) Creates an entry reader based on the given resource bundle reader. mixed read(string $path, string $locale) Reads a resource bundle. string[] getLocales(string $path) Reads the available locales of a resource bundle. mixed readEntry(string $path, string $locale, array $indices, Boolean $f

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

DoctrineAclCache

class DoctrineAclCache implements AclCacheInterface This class is a wrapper around the actual cache implementation. Constants PREFIX Methods __construct(Cache $cache, PermissionGrantingStrategyInterface $permissionGrantingStrategy, string $prefix = self::PREFIX) Constructor clearCache() Removes all ACLs from the cache evictFromCacheById($aclId) Removes an ACL from the cache evictFromCacheByIdentity(ObjectIdentityInterface $oid) Removes an ACL from the cache AclInt

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

CsrfTokenManager

class CsrfTokenManager implements CsrfTokenManagerInterface Default implementation of {@link CsrfTokenManagerInterface}. Methods __construct(TokenGeneratorInterface $generator = null, TokenStorageInterface $storage = null) Creates a new CSRF provider using PHP's native session storage. CsrfToken getToken(string $tokenId) Returns a CSRF token for the given ID. CsrfToken refreshToken(string $tokenId) Generates a new token value for the given ID. string|null removeToken(strin

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

ValidatorInterface deprecated::validateValue()

ConstraintViolationListInterface validateValue(mixed $value, Constraint|Constraint[] $constraints, array|null $groups = null) deprecated deprecated since version 2.5, to be removed in 3.0. Renamed to {@link Validator\ValidatorInterface::validate()} in Symfony 2.5. Validates a value against a constraint or a list of constraints. Parameters mixed $value The value to validate. Constraint|Constraint[] $constraints The constraint(s) to validate against. array|null $groups The v