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

Request::setLocale()

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

TokenizerEscaping::escapeUnicodeAndNewLine()

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

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

Crawler::addHtmlContent()

addHtmlContent(string $content, string $charset = 'UTF-8') Adds an HTML content to the list of nodes. The libxml errors are disabled when the content is parsed. If you want to get parsing errors, be sure to enable internal errors via libxmluseinternalerrors(true) and then, get the errors via libxmlgeterrors(). Be sure to clear errors with libxmlclear_errors() afterward. Parameters string $content The HTML content string $charset The charset

AbstractAdapter deprecated::ignoreUnreadableDirs()

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

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

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

AdapterInterface deprecated::setContains()

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

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