CsrfTokenManager::refreshToken()

CsrfToken refreshToken(string $tokenId) Generates a new token value for the given ID. This method will generate a new token for the given token ID, independent of whether a token value previously existed or not. It can be used to enforce once-only tokens in environments with high security needs. Parameters string $tokenId The token ID. You may choose an arbitrary value for the ID Return Value CsrfToken The CSRF token

ContainerAwareTrait

trait ContainerAwareTrait ContainerAware trait. Methods setContainer(ContainerInterface $container = null) Sets the container. Details setContainer(ContainerInterface $container = null) Sets the container. Parameters ContainerInterface $container A ContainerInterface instance or null

ExpressionLanguageProvider

class ExpressionLanguageProvider implements ExpressionFunctionProviderInterface Define some ExpressionLanguage functions. Methods ExpressionFunction[] getFunctions() Details ExpressionFunction[] getFunctions() Return Value ExpressionFunction[] An array of Function instances

FormError

class FormError implements Serializable Wraps errors in forms. Methods __construct(string $message, string|null $messageTemplate = null, array $messageParameters = array(), int|null $messagePluralization = null, mixed $cause = null) Constructor. string getMessage() Returns the error message. string getMessageTemplate() Returns the error message template. array getMessageParameters() Returns the parameters to be inserted in the message template. int|null getMessagePlur

FalseValidator deprecated

class FalseValidator extends IsFalseValidator deprecated since version 2.7, to be removed in 3.0. Use IsFalseValidator instead. Constants PRETTY_DATE Whether to format {@link \DateTime} objects as RFC-3339 dates ("Y-m-d H:i:s"). OBJECT_TO_STRING Whether to cast objects with a "__toString()" method to strings. Methods initialize(ExecutionContextInterface $context) Initializes the constraint validator. from ConstraintValidator validate(mixed $value, Constraint $constraint) Ch

TemplatePathsCacheWarmer

class TemplatePathsCacheWarmer extends CacheWarmer Computes the association between template names and their paths on the disk. Methods __construct(TemplateFinderInterface $finder, TemplateLocator $locator) Constructor. warmUp(string $cacheDir) Warms up the cache. bool isOptional() Checks whether this warmer is optional or not. Details __construct(TemplateFinderInterface $finder, TemplateLocator $locator) Constructor. Parameters Te

ProxyCacheWarmer

class ProxyCacheWarmer implements CacheWarmerInterface The proxy generator cache warmer generates all entity proxies. In the process of generating proxies the cache for all the metadata is primed also, since this information is necessary to build the proxies in the first place. Methods __construct(ManagerRegistry $registry) Constructor. Boolean isOptional() This cache warmer is not optional, without proxies fatal error occurs! warmUp(string $cacheDir) Warms up the cache. De

TwigEngine::stream()

stream(string|TemplateReferenceInterface $name, array $parameters = array()) Streams a template. The implementation should output the content directly to the client. Parameters string|TemplateReferenceInterface $name A template name or a TemplateReferenceInterface instance array $parameters An array of parameters to pass to the template Exceptions RuntimeException if the template cannot be rendered LogicException if the template cannot be streamed

ArrayNodeDefinition::addDefaultsIfNotSet()

ArrayNodeDefinition addDefaultsIfNotSet() Adds the default value if the node is not set in the configuration. This method is applicable to concrete nodes only (not to prototype nodes). If this function has been called and the node is not set during the finalization phase, it's default value will be derived from its children default values. Return Value ArrayNodeDefinition

AttributeNode::getOperator()

string getOperator() Return Value string