EntryManagerInterface::add()

add(Entry $entry) Adds a new entry in the Ldap server. Parameters Entry $entry

AdapterInterface deprecated::setNotNames()

AdapterInterface setNotNames(array $notNames) Parameters array $notNames Return Value AdapterInterface Current instance

Kernel::stripComments()

static string stripComments(string $source) Removes comments from a PHP source string. We don't use the PHP phpstripwhitespace() function as we want the content to be readable and well-formatted. Parameters string $source A PHP string Return Value string The PHP string with the comments removed

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

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

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