interface ResponseCacheStrategyInterface ResponseCacheStrategyInterface implementations know how to compute the Response cache HTTP header based on the different response cache headers. Methods add(Response $response) Adds a Response. update(Response $response) Updates the Response HTTP headers based on the embedded Responses. Details add(Response $response) Adds a Response. Parameters Response $response
string getBlockPrefix() Returns the prefix of the template block name for this type. The block prefix defaults to the underscored short class name with the "Type" suffix removed (e.g. "UserProfileType" => "user_profile"). Return Value string The prefix of the template block name
configureOptions(OptionsResolver $resolver) Configures the options for this type. Parameters OptionsResolver $resolver The resolver for the options
bool isIndex() Returns whether the current element in the property path is an array index. Return Value bool
setArgument(string $name, string $value) Sets an argument value by name. Parameters string $name The argument name string $value The argument value Exceptions InvalidArgumentException When argument given doesn't exist
int getVerbosity() Gets the current verbosity of the output. Return Value int The current level of verbosity (one of the VERBOSITY constants)
string replaceQuoteMatch(string $quoteMatch) Replaces single quotes at the start or end of a string with two single quotes. Parameters string $quoteMatch The string to replace the quotes Return Value string A string with the single quotes replaced
getName()
Page 592 of 787