Response::isCacheable()

bool isCacheable() Returns true if the response is worth caching under any circumstance. Responses marked "private" with an explicit Cache-Control directive are considered uncacheable. Responses with neither a freshness lifetime (Expires, max-age) nor cache validator (Last-Modified, ETag) are considered uncacheable. Return Value bool true if the response is worth caching, false otherwise

Ssi::addSurrogateControl()

addSurrogateControl(Response $response) Adds HTTP headers to specify that the Response needs to be parsed for Surrogate. This method only adds an Surrogate HTTP header if the Response has some Surrogate tags. Parameters Response $response A Response instance

CombinedSelectorNode

class CombinedSelectorNode extends AbstractNode Represents a combined node. This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect. Methods string getNodeName() from AbstractNode __construct(NodeInterface $selector, string $combinator, NodeInterface $subSelector) NodeInterface getSelector() string getCombinator() NodeInterface getSubSelector() Specificity getSpecificity() Returns n

RecursiveContextualValidator::validatePropertyValue()

ContextualValidatorInterface validatePropertyValue(object|string $objectOrClass, string $propertyName, mixed $value, array|null $groups = null) Validates a value against the constraints specified for an object's property. Parameters object|string $objectOrClass The object or its class name string $propertyName The name of the property mixed $value The value to validate against the property's constraints array|null $groups The validation groups to validate. If none is given, "D

FormDataCollectorInterface::collectSubmittedData()

collectSubmittedData(FormInterface $form) Stores the submitted data of the given form and its children. Parameters FormInterface $form A root form

ValidatorTypeGuesser

class ValidatorTypeGuesser implements FormTypeGuesserInterface Methods __construct(MetadataFactoryInterface $metadataFactory) TypeGuess|null guessType(string $class, string $property) Returns a field guess for a property name of a class. ValueGuess guessRequired(string $class, string $property) Returns a guess whether a property of a class is required. ValueGuess|null guessMaxLength(string $class, string $property) Returns a guess about the field's maximum length. ValueG

ProfilerController::searchResultsAction()

Response searchResultsAction(Request $request, string $token) Renders the search results. Parameters Request $request The current HTTP Request string $token The token Return Value Response A Response instance Exceptions NotFoundHttpException

RegistryInterface::resetEntityManager()

EntityManager resetEntityManager(string $name = null) Resets a named entity manager. This method is useful when an entity manager has been closed because of a rollbacked transaction AND when you think that it makes sense to get a new one to replace the closed one. Be warned that you will get a brand new entity manager as the existing one is not useable anymore. This means that any other object with a dependency on this entity manager will hold an obsolete reference. You can injec

ProviderNotFoundException

class ProviderNotFoundException extends AuthenticationException ProviderNotFoundException is thrown when no AuthenticationProviderInterface instance supports an authentication Token. Methods TokenInterface getToken() Get the token. from AuthenticationException setToken(TokenInterface $token) Set the token. from AuthenticationException serialize() from AuthenticationException unserialize($str) from AuthenticationException string getMessageKey() Message key to be used by

QuarterTransformer::extractDateOptions()

array extractDateOptions(string $matched, int $length) Extract date options from a matched value returned by the processing of the reverse matching regular expression. Parameters string $matched The matched value int $length The length of the Transformer pattern string Return Value array An associative array