MessageCatalogueInterface::replace()

replace(array $messages, string $domain = 'messages') Sets translations for a given domain. Parameters array $messages An array of translations string $domain The domain name

AdapterInterface deprecated::setContains()

AdapterInterface setContains(array $contains) Parameters array $contains Return Value AdapterInterface Current instance

VariableNodeDefinition

class VariableNodeDefinition extends NodeDefinition This class provides a fluent interface for defining a node. Methods __construct(string $name, NodeParentInterface $parent = null) Constructor. from NodeDefinition NodeDefinition|$this setParent(NodeParentInterface $parent) Sets the parent node. from NodeDefinition NodeDefinition|$this info(string $info) Sets info message. from NodeDefinition NodeDefinition|$this example(string|array $example) Sets example configuration. fro

EventDispatcher::getListeners()

array getListeners(string $eventName = null) Gets the listeners of a specific event or all listeners sorted by descending priority. Parameters string $eventName The name of the event Return Value array The event listeners for the specified event, or all event listeners by event name

AbstractAdapter deprecated::ignoreUnreadableDirs()

AdapterInterface ignoreUnreadableDirs(bool $ignore = true) Parameters bool $ignore Return Value AdapterInterface Current instance

Response::mustRevalidate()

bool mustRevalidate() Returns true if the response must be revalidated by caches. This method indicates that the response must not be served stale by a cache in any circumstance without first revalidating with the origin. When present, the TTL of the response should not be overridden to be greater than the value provided by the origin. Return Value bool true if the response must be revalidated by a cache, false otherwise

TokenizerEscaping::escapeUnicodeAndNewLine()

string escapeUnicodeAndNewLine(string $value) Parameters string $value Return Value string

Request::setLocale()

setLocale(string $locale) Sets the locale. Parameters string $locale

BirthdayType::getBlockPrefix()

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

AdapterInterface deprecated::setExclude()

AdapterInterface setExclude(array $exclude) Parameters array $exclude Return Value AdapterInterface Current instance